|
|
| version 1.10, 2003/12/08 00:55:33 | version 1.11, 2004/01/11 16:58:47 |
|---|---|
| Line 104 void sysmng_updatecaption(BYTE flag) { | Line 104 void sysmng_updatecaption(BYTE flag) { |
| 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); |