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/srccontrols/matrix/iupmat_getset.c | |
parent | ccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff) |
Upgrading to iup 3.1
Diffstat (limited to 'iup/srccontrols/matrix/iupmat_getset.c')
-rwxr-xr-x | iup/srccontrols/matrix/iupmat_getset.c | 4 |
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); |