summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/progname.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-12-01 22:36:39 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-12-01 22:36:39 +0000
commitd45f96bd51a09fecd9331f5d99ddc94621d82486 (patch)
tree83ef3cb926b8fe2d6759170d6eb5e1f3a6c65986 /Build/source/texk/kpathsea/progname.c
parent4813cb6776a1c73bf8e5fea4eec861bb5aec7467 (diff)
Revert
git-svn-id: svn://tug.org/texlive/trunk@32291 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/progname.c')
-rw-r--r--Build/source/texk/kpathsea/progname.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/progname.c b/Build/source/texk/kpathsea/progname.c
index 5952936579b..ba43bd8679f 100644
--- a/Build/source/texk/kpathsea/progname.c
+++ b/Build/source/texk/kpathsea/progname.c
@@ -501,13 +501,12 @@ kpathsea_set_program_name (kpathsea kpse, const_string argv0,
}
#if defined(WIN32)
- cp = GetACP();
+ cp = GetOEMCP();
if (cp == 932 || cp == 936 || cp == 950) {
is_cp932_system = cp;
}
else
is_cp932_system = 0;
- file_system_codepage = AreFileApisANSI() ? GetACP() : GetOEMCP();
#if defined(__MINGW32__)
/* Set various info about user. Among many things,