diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2004-11-30 09:34:57 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2004-11-30 09:34:57 +0000 |
commit | 937a870545e79fad476b7c7c7e8ef5f0db591ad9 (patch) | |
tree | 9ea846dc6ccff9607377b3a5f4254eb126d8121e /games/gcompris2/files/patch-src_boards_gletters.c | |
parent | Remove trailing newlines (diff) |
Update to 6.4
Diffstat (limited to 'games/gcompris2/files/patch-src_boards_gletters.c')
-rw-r--r-- | games/gcompris2/files/patch-src_boards_gletters.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/games/gcompris2/files/patch-src_boards_gletters.c b/games/gcompris2/files/patch-src_boards_gletters.c new file mode 100644 index 000000000000..6ea1c1520f80 --- /dev/null +++ b/games/gcompris2/files/patch-src_boards_gletters.c @@ -0,0 +1,32 @@ +--- src/boards/gletters.c.orig Tue Nov 30 04:16:40 2004 ++++ src/boards/gletters.c Tue Nov 30 04:18:51 2004 +@@ -690,9 +690,9 @@ + GnomeCanvasItem *item; + gchar *str = NULL; + gchar *str2 = NULL; +- gint i,j,k; ++ gint i,j,k,attempt; + guint c, x; +- gchar *lettersItem, *str_p; ++ gchar *lettersItem, *str_p, *letter_no_caps; + + if (!letters_table) + { +@@ -709,7 +709,7 @@ + k=g_utf8_strlen(letters_array[gcomprisBoard->level-1],-1); + + lettersItem = g_new(gchar,6); +- gint attempt=0; ++ attempt=0; + do { + + attempt++; +@@ -726,7 +726,7 @@ + + if (item_find_by_title(lettersItem)!=NULL) {g_free(lettersItem); return NULL;} + +- gchar *letter_no_caps=g_utf8_strdown(lettersItem,-1); ++ letter_no_caps=g_utf8_strdown(lettersItem,-1); + str = g_strdup_printf("%s%s", letter_no_caps, ".ogg"); + str2 = gcompris_get_asset_file("gcompris alphabet", NULL, "audio/x-ogg", str); + gcompris_play_ogg(str2, NULL); |