Changeset 3693 for trunk/Ohana/src/opihi/cmd.data/vcontour.c
- Timestamp:
- Apr 11, 2005, 10:37:51 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.data/vcontour.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/vcontour.c
r2598 r3693 45 45 Nline ++; \ 46 46 if (Nline == 512) { \ 47 sprintf (line, "NLINES %7d \0", Nline); \ 48 write (Ximage, line, 16); \ 47 SendGraphCommand (Ximage, 16, "NLINES %7d \0", Nline); \ 49 48 write (Ximage, buffer, Nline*128); \ 50 49 bzero (buffer, 65536); \ … … 57 56 Nline ++; \ 58 57 if (Nline == 512) { \ 59 sprintf (line, "NLINES %7d \0", Nline); \ 60 write (Ximage, line, 16); \ 58 SendGraphCommand (Ximage, 16, "NLINES %7d \0", Nline); \ 61 59 write (Ximage, buffer, Nline*128); \ 62 60 bzero (buffer, 65536); \ … … 263 261 264 262 if (Nline > 0) { 265 sprintf (line, "NLINES %7d \0", Nline); 266 write (Ximage, line, 16); 263 SendGraphCommand (Ximage, 16, "NLINES %7d \0", Nline); 267 264 write (Ximage, buffer, Nline*128); 268 265 } 269 266 270 267 free (buffer); 271 sprintf (line, "DONE \0"); 272 write (Ximage, line, 16); 273 if (Npix != 1) { 274 free (matrix); 275 } 268 SendGraphCommand (Ximage, 16, "DONE"); 269 if (Npix != 1) free (matrix); 276 270 fprintf (stderr, "\n"); 277 271 }
Note:
See TracChangeset
for help on using the changeset viewer.
