--- np2/generic/hostdrvs.c 2004/06/20 03:40:31 1.10 +++ np2/generic/hostdrvs.c 2004/07/15 13:48:39 1.11 @@ -303,11 +303,9 @@ BOOL hostdrvs_newrealpath(HDRVPATH *hdp, char dosname[16]; UINT i; char *p; -#if 0 #if defined(OSLANG_EUC) || defined(OSLANG_UTF8) OEMCHAR oemname[64]; #endif -#endif if ((hostdrvs_getrealdir(path, NELEMENTS(path), fcb, dospath) != SUCCESS) || @@ -335,9 +333,7 @@ BOOL hostdrvs_newrealpath(HDRVPATH *hdp, } } *p = '\0'; -#if 1 // ここで SJIS->OEMコードに未変換! - file_catname(path, dosname, NELEMENTS(path)); -#else + // ここで SJIS->OEMコードに未変換! #if defined(OSLANG_EUC) codecnv_sjis2euc(oemname, NELEMENTS(oemname), dosname, (UINT)-1); file_catname(path, oemname, NELEMENTS(path)); @@ -347,7 +343,6 @@ BOOL hostdrvs_newrealpath(HDRVPATH *hdp, #else file_catname(path, dosname, NELEMENTS(path)); #endif -#endif if (hdp) { ZeroMemory(&hdp->di, sizeof(hdp->di)); CopyMemory(hdp->di.fcbname, fcb, 11);