summaryrefslogtreecommitdiff
path: root/Build/source/texk/upmendex/main.c
diff options
context:
space:
mode:
authorTakuji Tanaka <KXD02663@nifty.ne.jp>2016-11-12 15:30:18 +0000
committerTakuji Tanaka <KXD02663@nifty.ne.jp>2016-11-12 15:30:18 +0000
commitcf8e9a530012b13b4fbd576b5154c10836f1d803 (patch)
tree4bce93871f2acac0b94ca96449238a90712cd91e /Build/source/texk/upmendex/main.c
parent2ab3ce7aaaa07c7a7a32bede4c2a981e4d8d1b15 (diff)
upmendex: Avoid access violation, more
git-svn-id: svn://tug.org/texlive/trunk@42493 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/upmendex/main.c')
-rw-r--r--Build/source/texk/upmendex/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Build/source/texk/upmendex/main.c b/Build/source/texk/upmendex/main.c
index 1a46b6a04d3..5e505da9ae6 100644
--- a/Build/source/texk/upmendex/main.c
+++ b/Build/source/texk/upmendex/main.c
@@ -199,9 +199,6 @@ int main(int argc, char **argv)
}
}
-/* init hangul tumunja table */
- u_strcpy(tumunja,GANADA);
-
if (!indfile &&(idxcount-fsti>0)) {
indfile=xmalloc(strlen(idxfile[0]+6));
for (i=strlen(idxfile[0]);i>=0;i--) {
@@ -232,6 +229,8 @@ int main(int argc, char **argv)
logfile=xstrdup("stderr");
}
+/* init hangul tumunja table */
+ u_strcpy(tumunja,GANADA);
if (styfile!=NULL) styread(styfile);
set_icu_attributes();