|
|
| version 1.10, 2003/12/08 00:55:33 | version 1.12, 2004/05/23 04:07:56 |
|---|---|
| Line 98 void sysmng_updatecaption(BYTE flag) { | Line 98 void sysmng_updatecaption(BYTE flag) { |
| #if defined(NP2GCC) | #if defined(NP2GCC) |
| milstr_ncpy(work, np2oscfg.titles, sizeof(work)); | milstr_ncpy(work, np2oscfg.titles, sizeof(work)); |
| #else | #else |
| #if !defined(SUPPORT_PC9821) | |
| milstr_ncpy(work, "Neko Project II", sizeof(work)); | milstr_ncpy(work, "Neko Project II", sizeof(work)); |
| #else | |
| milstr_ncpy(work, "Neko Project 21", sizeof(work)); | |
| #endif | |
| #endif | #endif |
| milstr_ncat(work, strtitle, sizeof(work)); | milstr_ncat(work, strtitle, sizeof(work)); |
| milstr_ncat(work, strclock, sizeof(work)); | milstr_ncat(work, strclock, sizeof(work)); |
| #if defined(NP2GCC) | #if defined(NP2GCC) |
| SetWindowTitleWithCFString(hWndMain, CFStringCreateWithCString(NULL, work, CFStringGetSystemEncoding())); | CFStringRef cfstr; |
| cfstr = CFStringCreateWithCString(NULL, work, CFStringGetSystemEncoding()); | |
| SetWindowTitleWithCFString(hWndMain, cfstr); | |
| CFRelease(cfstr); | |
| #else | #else |
| mkstr255(str, work); | mkstr255(str, work); |
| SetWTitle(hWndMain, str); | SetWTitle(hWndMain, str); |