[gcompris] shamegame: minor, now clicking on the left/right image selector does not trig the ok check.



commit 5bd7c6ed92e7af2d75e48a684ac9f96eea1856e0
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Tue Dec 27 19:50:19 2011 +0100

    shamegame: minor, now clicking on the left/right image selector does not trig the ok check.

 src/babymatch-activity/shapegame.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/babymatch-activity/shapegame.c b/src/babymatch-activity/shapegame.c
index bc1dbf8..4b34f71 100644
--- a/src/babymatch-activity/shapegame.c
+++ b/src/babymatch-activity/shapegame.c
@@ -1333,9 +1333,10 @@ item_event_ok(GooCanvasItem *item, GooCanvasItem *target,
 	  current_shapelistgroup_index = get_no_void_group(1);
 	  update_shapelist_item();
 	}
-      else if(!strcmp(data, "continue_click"))
+      else if(!strcmp(data, "continue_click")) {
 	show_errors();
 	gc_bonus_display(gamewon, GC_BONUS_FLOWER);
+      }
 
       root_item = g_list_nth_data(shape_list_group, current_shapelistgroup_index);
       g_object_set (root_item, "visibility", GOO_CANVAS_ITEM_VISIBLE, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]