--- np2/win9x/debuguty/viewer.cpp 2005/02/04 05:32:25 1.5 +++ np2/win9x/debuguty/viewer.cpp 2005/02/09 20:11:36 1.6 @@ -6,10 +6,10 @@ #include "cpucore.h" -static const char np2viewclass[] = "NP2-ViewWindow"; - const char np2viewfont[] = "£Í£Ó ¥´¥·¥Ã¥¯"; - NP2VIEW_T np2view[NP2VIEW_MAX]; -extern HINSTANCE hInst; +static const OEMCHAR np2viewclass[] = OEMTEXT("NP2-ViewWindow"); + const OEMCHAR np2viewfont[] = OEMTEXT("£Í£Ó ¥´¥·¥Ã¥¯"); + NP2VIEW_T np2view[NP2VIEW_MAX]; +extern HINSTANCE hInst; static void viewer_segmode(HWND hwnd, BYTE type) { @@ -226,7 +226,7 @@ void viewer_open(void) { view = np2view; for (i=0; ialive) { - char buf[256]; + OEMCHAR buf[256]; viewcmn_caption(view, buf); ZeroMemory(view, sizeof(NP2VIEW_T)); view->alive = TRUE;