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

This commit is contained in:
marschap
2006-04-11 20:57:15 +00:00
parent 66e38659cb
commit 65a473f2b7
12 changed files with 34 additions and 27 deletions
+1 -1
View File
@@ -1241,7 +1241,7 @@ char bignum_map[11][4][3] = {
if ((num < 0) || (num > 10))
return;
if ((p->width >= 20) && (p->height >= 4)) {
if (p->height >= 4) {
int y = (p->height - 2) / 2; /* center vertically */
int x2, y2;