--- np2/win9x/debuguty/viewseg.cpp 2005/02/04 05:32:25 1.4 +++ np2/win9x/debuguty/viewseg.cpp 2005/02/09 20:11:36 1.5 @@ -26,7 +26,7 @@ static void viewseg_paint(NP2VIEW_T *vie DWORD off; BYTE *p; BYTE buf[16]; - char str[16]; + OEMCHAR str[16]; HFONT hfont; hfont = CreateFont(16, 0, 0, 0, 0, 0, 0, 0, @@ -57,7 +57,7 @@ static void viewseg_paint(NP2VIEW_T *vie } for (y=0; ybottom && off<0x10000; y+=16, off+=16) { - wsprintf(str, "%04x:%04x", view->seg, off); + OEMSPRINTF(str, OEMTEXT("%04x:%04x"), view->seg, off); TextOut(hdc, 0, y, str, 9); if (view->lock) { p = (BYTE *)view->buf1.ptr;