diff --git a/ChangeLog b/ChangeLog index c609ea4..7a85cde 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3600,6 +3600,8 @@ Fri May 26 20:43:03 PDT 2000 Michael Jennings "br," or you can spell out "top_left," "top_right," "bottom_left," or "bottom_right." If you omit a corner name, the first one defaults to top-left, the second to top-right, and so on as listed above. + + For no font effects at all, simply specify "none". ------------------------------------------------------------------------------- Sun May 28 14:45:03 PDT 2000 Michael Jennings @@ -3617,3 +3619,9 @@ Sun May 28 14:45:03 PDT 2000 Michael Jennings shouldn't actually change any functionality. ------------------------------------------------------------------------------- +Tue May 30 08:49:43 PDT 2000 Michael Jennings + + Fix to multibyte screen rendering from Sung-Hyun Nam + . + +------------------------------------------------------------------------------- diff --git a/src/screen.c b/src/screen.c index 0b5f146..3b8cb63 100644 --- a/src/screen.c +++ b/src/screen.c @@ -1937,7 +1937,7 @@ scr_refresh(int type) yy = ypixel - TermWin.font->ascent; ww = Width2Pixel(wlen); hh = Height2Pixel(1); - CLEAR_CHARS(xpixel, ypixel - TermWin.font->ascent, wlen); + CLEAR_CHARS(xpixel, ypixel - TermWin.font->ascent, len); if (fshadow.shadow[SHADOW_TOP_LEFT] || fshadow.shadow[SHADOW_TOP_RIGHT]) { yy--; hh++; @@ -1984,7 +1984,7 @@ scr_refresh(int type) DRAW_STRING(draw_string, xpixel, ypixel, buffer, wlen); UPDATE_BOX(xx, yy, xx + ww, yy + hh); } else { - CLEAR_CHARS(xpixel, ypixel - TermWin.font->ascent, wlen); + CLEAR_CHARS(xpixel, ypixel - TermWin.font->ascent, len); DRAW_STRING(draw_string, xpixel, ypixel, buffer, wlen); UPDATE_BOX(xpixel, ypixel - TermWin.font->ascent, xpixel + Width2Pixel(wlen), ypixel + Height2Pixel(1)); }