From a03fb96dc95b92a5380395649e789b048b0fdf12 Mon Sep 17 00:00:00 2001 From: heero Date: Sun, 16 Oct 2011 15:17:45 +0200 Subject: [PATCH] Display: corection of the first line selection error --- Sources/tools/Display/Display.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/tools/Display/Display.cpp b/Sources/tools/Display/Display.cpp index e5bf719..77a9146 100644 --- a/Sources/tools/Display/Display.cpp +++ b/Sources/tools/Display/Display.cpp @@ -145,6 +145,7 @@ DrawerManager::DrawerManager(GtkWidget * widget, int32_t x, int32_t y) m_size.x = x; m_size.y = y; m_haveWork = false; + m_nbElement = 0; // Create the Cairo Element # if USE_GTK_VERSION_3_0 m_cairo = gdk_cairo_create(gtk_widget_get_window(widget));