Author: tlsa
Date: Thu Apr 12 04:05:37 2012
New Revision: 13850
URL:
http://source.netsurf-browser.org?rev=13850&view=rev
Log:
Fix caret redraw height. Thanks to m0n0.
Modified:
trunk/netsurf/desktop/textarea.c
Modified: trunk/netsurf/desktop/textarea.c
URL:
http://source.netsurf-browser.org/trunk/netsurf/desktop/textarea.c?rev=13...
==============================================================================
--- trunk/netsurf/desktop/textarea.c (original)
+++ trunk/netsurf/desktop/textarea.c Thu Apr 12 04:05:37 2012
@@ -908,7 +908,7 @@
/* Caret in vertical clip range; plot */
plot->line(x + ta->caret_x, y + ta->caret_y,
x + ta->caret_x,
- y + ta->caret_y + ta->line_height,
+ y + ta->caret_y + caret_height,
&pstyle_stroke_caret);
}
}