From 7f4ab1a459b01a303ac57ebb6fd7ab6aa616d5c7 Mon Sep 17 00:00:00 2001 From: gyboth Date: Wed, 19 Apr 2006 17:00:53 +0000 Subject: [PATCH] Minor bugfixes. --- src/misc_callbacks.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/misc_callbacks.c b/src/misc_callbacks.c index de5f7b6c..4b5f52bc 100644 --- a/src/misc_callbacks.c +++ b/src/misc_callbacks.c @@ -382,7 +382,10 @@ on_eventbox_lg_style_button_press_event (GtkWidget *widget, return FALSE; } - if(event->type != GDK_BUTTON_PRESS) + if(event->type != GDK_BUTTON_PRESS || + g_array_index(usr(stat2).live_game.units, LiveGameUnit, + usr(stat2).live_game.units->len -1).event.type == + LIVE_GAME_EVENT_END_MATCH) return FALSE; if(event->button == 3)