- Minor fix: correct use of bitmasks

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1112 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-09-12 17:55:12 +00:00
parent bd2999990e
commit 538470f96c
1 changed files with 1 additions and 1 deletions

View File

@ -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 =
"<ui>"