r454 - trunk
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jan 23 17:17:30 EST 2008
Author: icculus
Date: 2008-01-23 17:17:30 -0500 (Wed, 23 Jan 2008)
New Revision: 454
Modified:
trunk/gui_stdio.c
Log:
Localization logic fixes in stdio UI.
Modified: trunk/gui_stdio.c
===================================================================
--- trunk/gui_stdio.c 2008-01-21 09:41:56 UTC (rev 453)
+++ trunk/gui_stdio.c 2008-01-23 22:17:30 UTC (rev 454)
@@ -130,10 +130,10 @@
if (!feof(stdin))
{
const char *_fmt = ((defval) ?
- entry->_("%1\n[Y/n]: ") :
- entry->_("%1\n[y/N]: "));
+ entry->_("%0\n[Y/n]: ") :
+ entry->_("%0\n[y/N]: "));
- char *fmt = entry->xstrdup(entry->_(_fmt));
+ char *fmt = entry->xstrdup(_fmt);
char *msg = entry->format(fmt, text);
char *localized_no = entry->xstrdup(entry->_("N"));
char *localized_yes = entry->xstrdup(entry->_("Y"));
More information about the mojosetup-commits
mailing list