fix checks in *_num() functions: only when/where necessary
This commit is contained in:
@@ -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