Changeset 4769 for trunk/Ohana/src/kapa/graph/cursor.c
- Timestamp:
- Aug 15, 2005, 3:00:59 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/kapa/graph/cursor.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/kapa/graph/cursor.c
r2473 r4769 6 6 XEvent event; 7 7 KeySym keysym; 8 int status, xstatus,value;8 int status, value; 9 9 XComposeStatus composestatus; 10 10 char string[10], line[35]; … … 79 79 y = (event.xkey.y - layout[0].axis[1].fy)*(layout[0].axis[1].max - layout[0].axis[1].min)/layout[0].axis[1].dfy + layout[0].axis[1].min; 80 80 if ((value > 0) && (isdigit(string[0]) || isalpha(string[0]))) { 81 sprintf (line, "%c %12.6f %12.6f \0", string[0], x, y);81 sprintf (line, "%c %12.6f %12.6f ", string[0], x, y); 82 82 write (sock, line, 32); 83 83 }
Note:
See TracChangeset
for help on using the changeset viewer.
