- 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:
parent
bd2999990e
commit
538470f96c
|
@ -68,7 +68,7 @@ HoltWidget& HoltContainerWindow::get_holt_widget()
|
||||||
bool
|
bool
|
||||||
HoltContainerWindow::on_button_press_event(GdkEventButton* event)
|
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 =
|
Glib::ustring ui_info =
|
||||||
"<ui>"
|
"<ui>"
|
||||||
|
|
Loading…
Reference in New Issue