summaryrefslogtreecommitdiff
path: root/iup/srccontrols/iup_oldmask.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
committerPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
commiteed0eb6a476d54ce19aeff137984aa981d9e3976 (patch)
tree807891636efd2f87dcbd261e971216269973ae07 /iup/srccontrols/iup_oldmask.c
parentccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff)
Upgrading to iup 3.1
Diffstat (limited to 'iup/srccontrols/iup_oldmask.c')
-rwxr-xr-xiup/srccontrols/iup_oldmask.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iup/srccontrols/iup_oldmask.c b/iup/srccontrols/iup_oldmask.c
index fec10f3..2ec4012 100755
--- a/iup/srccontrols/iup_oldmask.c
+++ b/iup/srccontrols/iup_oldmask.c
@@ -42,14 +42,14 @@ int iupmaskMatSetInt(Ihandle *ih, int autofill, int min, int max, int lin, int c
int iupmaskSetFloat(Ihandle* ih, int autofill, float min, float max)
{
(void)autofill;
- IupSetfAttribute(ih,"MASKFLOAT", "%f:%f", min, max);
+ IupSetfAttribute(ih,"MASKFLOAT", "%g:%g", min, max);
return 1;
}
int iupmaskMatSetFloat(Ihandle* ih, int autofill, float min, float max, int lin, int col)
{
(void)autofill;
- IupMatSetfAttribute(ih,"MASKFLOAT", lin, col, "%f:%f", min, max);
+ IupMatSetfAttribute(ih,"MASKFLOAT", lin, col, "%g:%g", min, max);
return 0;
}