summaryrefslogtreecommitdiffstats
path: root/draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'draw.cpp')
-rw-r--r--draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw.cpp b/draw.cpp
index 7441a4c..ab21bd3 100644
--- a/draw.cpp
+++ b/draw.cpp
@@ -99,7 +99,7 @@ gboolean drawTopView(GtkWidget *widget, GdkEventExpose *event, gpointer data) {
gboolean vertexOk;
static GdkPixmap *pixmap = NULL;
static double lastImageWidth = 0.0, lastImageHeight = 0.0;
- static gint lastWidth = 0.0, lastHeight = 0.0;
+ static gint lastWidth = 0, lastHeight = 0;
static int lastEditMode = 0;
int i;