Tue May 30 08:49:43 PDT 2000 Michael Jennings <mej@eterm.org>

Fix to multibyte screen rendering from Sung-Hyun Nam
	<namsh@lgic.co.kr>.


SVN revision: 2730
eterm-0.10
Michael Jennings 23 years ago
parent 47d87f02b0
commit cf3f7ca572
  1. 8
      ChangeLog
  2. 4
      src/screen.c

@ -3600,6 +3600,8 @@ Fri May 26 20:43:03 PDT 2000 Michael Jennings <mej@eterm.org>
"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 <mej@eterm.org>
@ -3617,3 +3619,9 @@ Sun May 28 14:45:03 PDT 2000 Michael Jennings <mej@eterm.org>
shouldn't actually change any functionality.
-------------------------------------------------------------------------------
Tue May 30 08:49:43 PDT 2000 Michael Jennings <mej@eterm.org>
Fix to multibyte screen rendering from Sung-Hyun Nam
<namsh@lgic.co.kr>.
-------------------------------------------------------------------------------

@ -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));
}

Loading…
Cancel
Save