summaryrefslogtreecommitdiff
path: root/iup/srccontrols/matrix/iupmat_getset.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/matrix/iupmat_getset.c
parentccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff)
Upgrading to iup 3.1
Diffstat (limited to 'iup/srccontrols/matrix/iupmat_getset.c')
-rwxr-xr-xiup/srccontrols/matrix/iupmat_getset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iup/srccontrols/matrix/iupmat_getset.c b/iup/srccontrols/matrix/iupmat_getset.c
index 34947b6..4424948 100755
--- a/iup/srccontrols/matrix/iupmat_getset.c
+++ b/iup/srccontrols/matrix/iupmat_getset.c
@@ -313,7 +313,7 @@ char* iupMatrixGetFont(Ihandle* ih, int lin, int col)
return font;
}
-char *iupMatrixGetSize(Ihandle* ih, int index, int m, int pixels)
+char *iupMatrixGetSize(Ihandle* ih, int index, int m, int pixels_unit)
{
char* str;
int size;
@@ -342,7 +342,7 @@ char *iupMatrixGetSize(Ihandle* ih, int index, int m, int pixels)
else
size -= IMAT_PADDING_H + IMAT_FRAME_H;
- if (!pixels)
+ if (!pixels_unit)
{
int charwidth, charheight;
iupdrvFontGetCharSize(ih, &charwidth, &charheight);