summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-03-10 16:43:59 +0100
committerPatric Stout <truebrain@openttd.org>2019-03-11 10:16:00 +0100
commit52d7e7d45e0a2a6033942602ed9fdec821a7d2af (patch)
tree4db1138219b406c775dfad6e85432209ce004b92 /src/strings.cpp
parent7adae09897c6f17a60de9468e9e11d166ff52278 (diff)
downloadopenttd-52d7e7d45e0a2a6033942602ed9fdec821a7d2af.tar.xz
Codechange: ICU_LAYOUT is in reality ICU_LX (according to their CMake files)
By naming it in a different way, things get a bit confusing. Especially if we are switching to CMake, which autodetects these things, we need to use the name the authors of ICU gave it; not our interpertation of that name.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index a3ece9830..849a540f2 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -2138,7 +2138,7 @@ void CheckForMissingGlyphs(bool base_font, MissingGlyphSearcher *searcher)
/* Update the font with cache */
LoadStringWidthTable(searcher->Monospace());
-#if !defined(WITH_ICU_LAYOUT) && !defined(WITH_UNISCRIBE) && !defined(WITH_COCOA)
+#if !defined(WITH_ICU_LX) && !defined(WITH_UNISCRIBE) && !defined(WITH_COCOA)
/*
* For right-to-left languages we need the ICU library. If
* we do not have support for that library we warn the user
@@ -2158,5 +2158,5 @@ void CheckForMissingGlyphs(bool base_font, MissingGlyphSearcher *searcher)
SetDParamStr(0, err_str);
ShowErrorMessage(STR_JUST_RAW_STRING, INVALID_STRING_ID, WL_ERROR);
}
-#endif /* !WITH_ICU_LAYOUT */
+#endif /* !WITH_ICU_LX */
}