Rozdiely pre dead/diplomovka/xgrafix/src/xgcrosshair.c medzi verziami 1.1 a 1.2
| verzia 1.1, 2001/09/20 14:12:00 |
verzia 1.2, 2002/07/07 23:57:58 |
| Riadok 36 int C_UpdateCrosshairProc(ClientData cl, |
|
| Riadok 36 int C_UpdateCrosshairProc(ClientData cl, |
|
| else |
else |
| yCoord=y * theCrosshairmy + theCrosshairby; |
yCoord=y * theCrosshairmy + theCrosshairby; |
| |
|
| sprintf(TclCommand,"%g %g\n",xCoord,yCoord); |
if (snprintf(TclCommand, TclCommand_MAX, "%g %g\n", xCoord, yCoord) == -1) { |
| |
fprintf(stderr, "Warning: TclCommand truncated at %s:%d\n", __FILE__, __LINE__); |
| |
} |
| interp->result=TclCommand; |
interp->result=TclCommand; |
| return TCL_OK; |
return TCL_OK; |
| } // }}} |
} // }}} |
Platon Group <platon@platon.sk> http://platon.sk/
|
|