mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-24 02:14:11 +03:00
Correct base of font positioning. Stops click in text input causing segfault.
svn path=/trunk/netsurf/; revision=2538
This commit is contained in:
parent
312bece1d0
commit
3c1ba2a0b6
@ -105,7 +105,7 @@ bool nsfont_position_in_string(const struct css_style *style,
|
||||
g_object_unref(context);
|
||||
pango_font_description_free(desc);
|
||||
|
||||
*char_offset = index + 1;
|
||||
*char_offset = index;
|
||||
*actual_x = PANGO_PIXELS(pos.x);
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user