summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/XeTeX_ext.c')
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_ext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
index df7b1d19b13..97531e8f788 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
+++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
@@ -150,9 +150,6 @@ void initversionstring(char **versions)
UVersionInfo icuVersion;
char icu_version[U_MAX_VERSION_STRING_LENGTH] = "";
- u_getVersion(icuVersion);
- u_versionToString(icuVersion, icu_version);
-
const_string fmt =
"Compiled with ICU version %s; using %s\n"
"Compiled with zlib version %s; using %s\n"
@@ -188,6 +185,9 @@ void initversionstring(char **versions)
/* len will be more than enough, because of the placeholder chars in fmt
that get replaced by the arguments */
+ u_getVersion(icuVersion);
+ u_versionToString(icuVersion, icu_version);
+
if (gFreeTypeLibrary == 0 && FT_Init_FreeType(&gFreeTypeLibrary) != 0) {
fprintf(stderr, "FreeType initialization failed!\n");
exit(9);