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