fix checks in *_num() functions: only when/where necessary
This commit is contained in:
1 parent
66e38659cb
commit
65a473f2b7
12 files changed
+34
-27
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user