diff options
Diffstat (limited to 'games-board/gnocatan/files/nothing.diff')
-rw-r--r-- | games-board/gnocatan/files/nothing.diff | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/games-board/gnocatan/files/nothing.diff b/games-board/gnocatan/files/nothing.diff deleted file mode 100644 index d7986315bb14..000000000000 --- a/games-board/gnocatan/files/nothing.diff +++ /dev/null @@ -1,28 +0,0 @@ -Index: client/common/resource.c -=================================================================== -RCS file: /cvsroot/gnocatan/gnocatan/client/common/resource.c,v -retrieving revision 1.3 -diff -u -p -r1.3 resource.c ---- client/common/resource.c 11 Jan 2004 22:38:26 -0000 1.3 -+++ client/common/resource.c 8 Feb 2004 20:38:15 -0000 -@@ -134,7 +134,7 @@ void resource_format_num(gchar *str, gui - str[len - 1] = '\0'; - return; - } -- -+ - if (num_types == 1) { - for (idx = 0; idx < NO_RESOURCE; idx++) { - gint num = resources[idx]; -@@ -211,6 +211,11 @@ void resource_format_type(gchar *str, gi - if (resources[idx] != 0) - num_types++; - -+ if (num_types == 0) { -+ strcpy(str, _("nothing")); -+ return; -+ } -+ - if (num_types == 1) { - for (idx = 0; idx < NO_RESOURCE; idx++) { - gint num = resources[idx]; |