r459 - trunk
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Jan 24 04:05:27 EST 2008
Author: icculus
Date: 2008-01-24 04:05:03 -0500 (Thu, 24 Jan 2008)
New Revision: 459
Modified:
trunk/gui_ncurses.c
Log:
Dynamically allocate a localization in the ncurses UI, so we don't rely on
scratchbuf_128k remaining stable.
Modified: trunk/gui_ncurses.c
===================================================================
--- trunk/gui_ncurses.c 2008-01-24 09:03:53 UTC (rev 458)
+++ trunk/gui_ncurses.c 2008-01-24 09:05:03 UTC (rev 459)
@@ -1471,7 +1471,9 @@
static void MojoGui_ncurses_final(const char *msg)
{
- MojoGui_ncurses_msgbox(entry->_("Finish"), msg);
+ char *title = entry->xstrdup(entry->_("Finish"));
+ MojoGui_ncurses_msgbox(title, msg);
+ free(title);
} // MojoGui_ncurses_final
// end of gui_ncurses.c ...
More information about the mojosetup-commits
mailing list