--- xmil/win9x/dosio.cpp 2004/08/03 12:50:54 1.2 +++ xmil/win9x/dosio.cpp 2004/08/09 02:47:02 1.3 @@ -225,7 +225,7 @@ void __stdcall file_cutseparator(OEMCHAR int pos; - pos = STRLEN(path) - 1; + pos = OEMSTRLEN(path) - 1; if ((pos > 0) && // 2文字以上でー (path[pos] == '\\') && // ケツが \ でー (!milstr_kanji2nd(path, pos)) && // 漢字の2バイト目ぢゃなくてー @@ -239,7 +239,7 @@ void __stdcall file_setseparator(OEMCHAR int pos; - pos = STRLEN(path) - 1; + pos = OEMSTRLEN(path) - 1; if ((pos < 0) || ((pos == 1) && (path[1] == ':')) || ((path[pos] == '\\') && (!milstr_kanji2nd(path, pos))) ||