1 |
--- src/lincity/fileutil.cpp.str 2009-01-26 22:35:20.000000000 -0500 |
2 |
+++ src/lincity/fileutil.cpp 2009-01-26 22:35:45.000000000 -0500 |
3 |
@@ -498,7 +498,7 @@ |
4 |
|
5 |
void malloc_failure(void) |
6 |
{ |
7 |
- printf(_("Out of memory: malloc failure\n")); |
8 |
+ printf("%s",_("Out of memory: malloc failure\n")); |
9 |
exit(1); |
10 |
} |
11 |
|
12 |
--- src/lincity-ng/Dialog.cpp.str 2009-01-26 22:36:00.000000000 -0500 |
13 |
+++ src/lincity-ng/Dialog.cpp 2009-01-26 22:36:19.000000000 -0500 |
14 |
@@ -378,7 +378,7 @@ |
15 |
setParagraphN( "statistic_text", line++, outf ); |
16 |
} |
17 |
if (sustain_flag){ |
18 |
- snprintf (outf, maxlength, _("Economy is sustainable")); |
19 |
+ snprintf (outf, maxlength, "%s", _("Economy is sustainable")); |
20 |
setParagraphN( "statistic_text", line++, outf ); |
21 |
} |
22 |
snprintf (outf, maxlength, _("Population %d of which %d are not housed.") |