Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/97c12b975c163aa878736...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/97c12b975c163aa878736fe...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/97c12b975c163aa878736fe66...
The branch, master has been updated
via 97c12b975c163aa878736fe66d1968f0dc5af7eb (commit)
from b16cfd2d6edf20a31613f421582f528a93c40e41 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=97c12b975c163aa8787...
commit 97c12b975c163aa878736fe66d1968f0dc5af7eb
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Add 1px to caret height.
diff --git a/gtk/window.c b/gtk/window.c
index 994c6a2..a3d6d49 100644
--- a/gtk/window.c
+++ b/gtk/window.c
@@ -1154,12 +1154,12 @@ static void gui_window_place_caret(struct gui_window *g, int x,
int y, int heigh
{
nsgtk_redraw_caret(g);
- height -= 2;
y += 1;
+ height -= 1;
if (y < clip->y0) {
- height -= clip->y0 - y + 1;
- y = clip->y0 - 1;
+ height -= clip->y0 - y;
+ y = clip->y0;
}
if (y + height > clip->y1) {
-----------------------------------------------------------------------
Summary of changes:
gtk/window.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gtk/window.c b/gtk/window.c
index 994c6a2..a3d6d49 100644
--- a/gtk/window.c
+++ b/gtk/window.c
@@ -1154,12 +1154,12 @@ static void gui_window_place_caret(struct gui_window *g, int x,
int y, int heigh
{
nsgtk_redraw_caret(g);
- height -= 2;
y += 1;
+ height -= 1;
if (y < clip->y0) {
- height -= clip->y0 - y + 1;
- y = clip->y0 - 1;
+ height -= clip->y0 - y;
+ y = clip->y0;
}
if (y + height > clip->y1) {
--
NetSurf Browser