mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Fudge off-by-one bitmap plotting in nsgtk plotters. Will investigate actual cause later.
svn path=/trunk/netsurf/; revision=3032
This commit is contained in:
parent
f4f17f905b
commit
306e09dd9f
@ -268,6 +268,8 @@ static bool nsgtk_plot_pixbuf(int x, int y, int width, int height,
|
||||
if (width == 0 || height == 0)
|
||||
return true;
|
||||
|
||||
width++; /* TODO: investigate why this is required */
|
||||
|
||||
if (gdk_pixbuf_get_width(pixbuf) == width &&
|
||||
gdk_pixbuf_get_height(pixbuf) == height) {
|
||||
gdk_draw_pixbuf(current_drawable, current_gc,
|
||||
|
Loading…
Reference in New Issue
Block a user