From 538470f96c0a1af39483ea69756ed983d90b25cc Mon Sep 17 00:00:00 2001 From: tchernobog Date: Tue, 12 Sep 2006 17:55:12 +0000 Subject: [PATCH] - Minor fix: correct use of bitmasks git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1112 3ecf2c5c-341e-0410-92b4-d18e462d057c --- src/holt_container_window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/holt_container_window.cc b/src/holt_container_window.cc index 9590a73..9161a43 100644 --- a/src/holt_container_window.cc +++ b/src/holt_container_window.cc @@ -68,7 +68,7 @@ HoltWidget& HoltContainerWindow::get_holt_widget() bool HoltContainerWindow::on_button_press_event(GdkEventButton* event) { - if( (event->type == GDK_BUTTON_PRESS) && (event->button == 3) ) + if((event->type & Gdk::BUTTON_PRESS) == Gdk::BUTTON_PRESS && (event->button == 3)) { Glib::ustring ui_info = ""