--- np2/macosx/sysmng.cpp 2003/11/03 10:19:43 1.6 +++ np2/macosx/sysmng.cpp 2003/11/24 20:44:14 1.9 @@ -95,12 +95,16 @@ void sysmng_updatecaption(BYTE flag) { milstr_ncat(strclock, work, sizeof(strclock)); } } +#if defined(NP2GCC) + milstr_ncpy(work, np2oscfg.titles, sizeof(work)); +#else milstr_ncpy(work, "Neko Project II", sizeof(work)); +#endif milstr_ncat(work, strtitle, sizeof(work)); milstr_ncat(work, strclock, sizeof(work)); #if defined(NP2GCC) - SetWindowTitleWithCFString(hWndMain, CFStringCreateWithCString(NULL, work, kCFStringEncodingUTF8)); + SetWindowTitleWithCFString(hWndMain, CFStringCreateWithCString(NULL, work, CFStringGetSystemEncoding())); #else mkstr255(str, work); SetWTitle(hWndMain, str);