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 -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;