diff options
Diffstat (limited to 'src/resize.c')
-rw-r--r-- | src/resize.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/resize.c b/src/resize.c index 73c59f3..0159c7d 100644 --- a/src/resize.c +++ b/src/resize.c @@ -471,7 +471,7 @@ CheckMaxSize(int wi) mline_old.fontx = (unsigned char *)xrealloc((char *)mline_old.fontx, maxwidth); mline_old.color = (unsigned char *)xrealloc((char *)mline_old.color, maxwidth); mline_old.colorx = (unsigned char *)xrealloc((char *)mline_old.colorx, maxwidth); - if (!(blank && null && mline_old.image && mline_old.attr IFFONT(&& mline_old.font) IFFONTX(&& mline_old.fontx) IFCOLOR(&& mline_old.color) IFCOLORX(&& mline_old.colorx))) + if (!(blank && null && mline_old.image && mline_old.attr && mline_old.font && mline_old.fontx && mline_old.color && mline_old.colorx)) Panic(0, "%s", strnomem); MakeBlankLine(blank, maxwidth); @@ -499,10 +499,10 @@ CheckMaxSize(int wi) { \ RESET_AFC(ml->image, blank); \ RESET_AFC(ml->attr, null); \ - IFFONT(RESET_AFC(ml->font, null)); \ - IFFONT(RESET_AFC(ml->fontx, null)); \ - IFCOLOR(RESET_AFC(ml->color, null)); \ - IFCOLORX(RESET_AFC(ml->colorx, null)); \ + RESET_AFC(ml->font, null); \ + RESET_AFC(ml->fontx, null); \ + RESET_AFC(ml->color, null); \ + RESET_AFC(ml->colorx, null); \ } \ } while (0) |