IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2005, 3:00:59 PM (21 years ago)
Author:
eugene
Message:

cleanup errors caught by Wall,Werror

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa/graph/cursor.c

    r2473 r4769  
    66  XEvent          event;
    77  KeySym          keysym;
    8   int             status, xstatus, value;
     8  int             status, value;
    99  XComposeStatus  composestatus;
    1010  char            string[10], line[35];
     
    7979        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;
    8080        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);
    8282          write (sock, line, 32);
    8383        }
Note: See TracChangeset for help on using the changeset viewer.