summaryrefslogtreecommitdiff
path: root/iup/srccontrols/iup_oldmask.c
diff options
context:
space:
mode:
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;
}