diff options
author | Pixel <pixel@nobis-crew.org> | 2010-06-15 00:59:57 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2010-06-15 00:59:57 -0700 |
commit | eed0eb6a476d54ce19aeff137984aa981d9e3976 (patch) | |
tree | 807891636efd2f87dcbd261e971216269973ae07 /iup/src/iup_canvas.c | |
parent | ccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff) |
Upgrading to iup 3.1
Diffstat (limited to 'iup/src/iup_canvas.c')
-rwxr-xr-x | iup/src/iup_canvas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iup/src/iup_canvas.c b/iup/src/iup_canvas.c index 5eda988..46fefd9 100755 --- a/iup/src/iup_canvas.c +++ b/iup/src/iup_canvas.c @@ -55,14 +55,14 @@ void iupCanvasCalcScrollRealPos(double min, double max, double *pos, char* iupCanvasGetPosXAttrib(Ihandle* ih) { char* str = iupStrGetMemory(20); - sprintf(str, "%f", ih->data->posx); + sprintf(str, "%g", ih->data->posx); return str; } char* iupCanvasGetPosYAttrib(Ihandle* ih) { char* str = iupStrGetMemory(20); - sprintf(str, "%f", ih->data->posy); + sprintf(str, "%g", ih->data->posy); return str; } |