1.1 --- a/src/cocoaui/cocoaui.c Mon Jul 28 10:13:13 2008 +0000
1.2 +++ b/src/cocoaui/cocoaui.c Tue Jul 29 08:51:10 2008 +0000
1.7 +#include "gdrom/gdrom.h"
1.10 #include "cocoaui/cocoaui.h"
1.12 void cocoa_gui_update( void );
1.15 static NSString *NSMENU_( const char *text )
1.17 - return [[NSString stringWithUTF8String: gettext(text)] stringByReplacingOccurrencesOfString: @"_" withString: @""];
1.18 + const char *s = gettext(text);
1.19 + char buf[strlen(s)+1];
1.22 + while( *s != '\0' ) {
1.30 + return [NSString stringWithUTF8String: buf];
1.33 static void cocoa_gui_create_menu(void)
1.35 [NSApp activateIgnoringOtherApps: YES];
1.41 void gui_main_loop( gboolean run )