# HG changeset patch # User Jason Rumney # Date 929609130 0 # Node ID de94a8394d25347838d35b6f4c1c088a033c8dd4 # Parent 78aaef52e28fe79be4c036edd12daa52bc8cc0d7 Handle wide characters properly. diff -r 78aaef52e28f -r de94a8394d25 src/w32term.c --- a/src/w32term.c Thu Jun 17 07:10:20 1999 +0000 +++ b/src/w32term.c Thu Jun 17 08:45:30 1999 +0000 @@ -1681,6 +1681,14 @@ if (! active_frame->enable[y] || left > active_frame->used[y]) continue; + while (*line & GLYPH_MASK_PADDING) + { + /* We must display the whole glyph of a wide-column + character. */ + left--; + line--; + cols++; + } dumpglyphs (f, CHAR_TO_PIXEL_COL (f, left), CHAR_TO_PIXEL_ROW (f, y),