[gcompris] missingletter, fixed the number of level in the config box
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] missingletter, fixed the number of level in the config box
- Date: Sun, 20 Oct 2013 15:16:44 +0000 (UTC)
commit 4750df7079e3ac948eebf1fd8d13fd44e09fadd8
Author: Bruno Coudoin <bcoudoin gcompris net>
Date: Sun Oct 20 14:31:39 2013 +0200
missingletter, fixed the number of level in the config box
There was an off by one and the last level was not displayed
in the configuration dialog box.
src/missing_letter-activity/missingletter_config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/missing_letter-activity/missingletter_config.c
b/src/missing_letter-activity/missingletter_config.c
index ac32135..328c2a3 100644
--- a/src/missing_letter-activity/missingletter_config.c
+++ b/src/missing_letter-activity/missingletter_config.c
@@ -472,7 +472,7 @@ void config_missing_letter(GcomprisBoardConf *bconf, GHashTable *config)
gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 8);
level = gtk_combo_box_new_text();
- for(i=1; i< gcomprisBoard_missing->maxlevel; i++)
+ for(i=1; i <= gcomprisBoard_missing->maxlevel; i++)
{
gchar *tmp;
tmp = g_strdup_printf(_("Level %d"), i);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]