summaryrefslogtreecommitdiffstats
path: root/src/display/sp-canvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/display/sp-canvas.cpp')
-rw-r--r--src/display/sp-canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp
index 5e19539f3..edd429f0d 100644
--- a/src/display/sp-canvas.cpp
+++ b/src/display/sp-canvas.cpp
@@ -1254,7 +1254,7 @@ emit_event (SPCanvas *canvas, GdkEvent *event)
static int
pick_current_item (SPCanvas *canvas, GdkEvent *event)
{
- int button_down;
+ int button_down = 0;
double x, y;
int retval = FALSE;