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
@@ -706,7 +706,7 @@ lcterm_num (Driver *drvthis, int x, int num)
|
||||
if ((num < 0) || (num > 10))
|
||||
return;
|
||||
|
||||
if ((p->width >= 20) && (p->height >= 4)) {
|
||||
if (p->height >= 4) {
|
||||
int y = (p->height - 2) / 2;
|
||||
int x2, y2;
|
||||
|
||||
|
||||
Reference in new issue
Block a user