summaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2014-04-17 14:11:28 +0200
committerAxel Beckert <abe@deuxchevaux.org>2014-04-17 14:11:28 +0200
commitc3927cc39106d6b7cd746109784b6e8af203ec6b (patch)
treec7e4f517ca9a07c0cd8c809da7af0251e8cec6a7 /window.c
parent28a2487f484d19f570280f391f606aeb7fb3fb4a (diff)
downloadscreen-upstream/4.2.0.tar.gz
Imported Upstream version 4.2.0upstream/4.2.0
Diffstat (limited to 'window.c')
-rw-r--r--window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/window.c b/window.c
index 1c6f5b6..0023065 100644
--- a/window.c
+++ b/window.c
@@ -403,6 +403,7 @@ struct mchar *rend;
register unsigned char *p, *i;
#ifdef FONT
register unsigned char *f;
+ register unsigned char *fx;
#endif
#ifdef COLOR
register unsigned char *c;
@@ -424,6 +425,7 @@ struct mchar *rend;
p = fore->w_mlines[y].attr + x1;
#ifdef FONT
f = fore->w_mlines[y].font + x1;
+ fx = fore->w_mlines[y].fontx + x1;
# ifdef DW_CHARS
if (is_dw_font(rend->font))
return EXPENSIVE;
@@ -448,6 +450,8 @@ struct mchar *rend;
#ifdef FONT
if (*f++ != rend->font)
return EXPENSIVE;
+ if (*fx++ != rend->fontx)
+ return EXPENSIVE;
#endif
#ifdef COLOR
if (*c++ != rend->color)