--- xmil/win9x/dialog/dialogs.cpp 2004/08/01 05:31:32 1.1 +++ xmil/win9x/dialog/dialogs.cpp 2004/08/09 02:47:02 1.2 @@ -77,9 +77,9 @@ BRESULT dlgs_selectwritenum(HWND hWnd, c p = file_getname(path); milstr_ncpy(file, path, size); file_cutname(file); - q = file + STRLEN(file); + q = file + OEMSTRLEN(file); for (i=0; i<10000; i++) { - SPRINTF(q, p, i); + OEMSPRINTF(q, p, i); if (file_attr(file) == (short)-1) { break; } @@ -116,7 +116,7 @@ void dlgs_setlistuint32(HWND hWnd, WORD wnd = GetDlgItem(hWnd, res); for (i=0; i