From c85be437b373f5ee00f9828b767d7ee1e578af28 Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Tue, 11 Mar 2008 00:26:47 +0000 Subject: Round caret hight down by 2 to make up for pixel system differences in nsgtk: makes caret appear the correct size for text-entry boxes. svn path=/trunk/netsurf/; revision=3926 --- gtk/gtk_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtk_window.c') diff --git a/gtk/gtk_window.c b/gtk/gtk_window.c index 039502755..bf77b4571 100644 --- a/gtk/gtk_window.c +++ b/gtk/gtk_window.c @@ -805,7 +805,7 @@ void gui_window_place_caret(struct gui_window *g, int x, int y, int height) g->caretx = x; g->carety = y + 1; - g->careth = height; + g->careth = height - 2; nsgtk_redraw_caret(g); -- cgit v1.2.3