fix checks in *_num() functions: only when/where necessary

This commit is contained in:
marschap committed 2006-04-11 20:57:15 +00:00
1 parent 66e38659cb
commit 65a473f2b7
12 files changed
+34 -27

No files matched your search

+1 -2
View File
@@ -382,9 +382,8 @@ glcdlib_set_char (Driver *drvthis, int n, char *dat)
MODULE_EXPORT void
glcdlib_num (Driver *drvthis, int x, int num)
{
x--;
glcdlibPD * pPD = drvthis->private_data;
glcddriverDrawBigNum(pPD->glcdDriver, x, num);
glcddriverDrawBigNum(pPD->glcdDriver, x - 1, num);
}
/////////////////////////////////////////////////////////////////