summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/plotters.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/plotters.c b/gtk/plotters.c
index fbf3d58ac..3af55b9d5 100644
--- a/gtk/plotters.c
+++ b/gtk/plotters.c
@@ -414,9 +414,6 @@ static bool nsgtk_plot_bitmap(int x, int y, int width, int height,
return nsgtk_plot_pixbuf(x, y, width, height, bitmap, bg);
}
- width = bitmap_get_width(bitmap);
- height = bitmap_get_height(bitmap);
-
if (y > cliprect.y) {
doneheight = (cliprect.y - height) + ((y - cliprect.y) % height);
} else {