1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Fix underline, which I cleverly broke while adding support for the

window border. Oops.

[originally from svn r2032]
This commit is contained in:
Simon Tatham 2002-10-13 09:57:07 +00:00
parent 534c8b4c4a
commit b65b4e36f5

View File

@ -823,7 +823,8 @@ void do_text(Context ctx, int x, int y, char *text, int len,
uheight = inst->font_height - 1;
gdk_draw_line(inst->pixmap, gc, x*inst->font_width+cfg.window_border,
y*inst->font_height + uheight + cfg.window_border,
(x+len)*inst->font_width-1, y*inst->font_height+uheight);
(x+len)*inst->font_width-1+cfg.window_border,
y*inst->font_height + uheight + cfg.window_border);
}
gdk_draw_pixmap(inst->area->window, gc, inst->pixmap,