diff options
author | smatz <smatz@openttd.org> | 2010-02-24 14:46:15 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-02-24 14:46:15 +0000 |
commit | f051066bc451479a0c2ff44e2554941628a62f6a (patch) | |
tree | 239197109c12b15a24e9ae8ab70a7549e34d4a8b /src/strings.cpp | |
parent | c1e2bc90cd3751dfa316519cfe2f558aa2697b2c (diff) | |
download | openttd-f051066bc451479a0c2ff44e2554941628a62f6a.tar.xz |
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
Diffstat (limited to 'src/strings.cpp')
-rw-r--r-- | src/strings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index e27560b53..11c8c587f 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -1602,7 +1602,7 @@ void CheckForMissingGlyphsInLoadedLanguagePack() static char *err_str = strdup("XXXThe current font is missing some of the characters used in the texts for this language. Read the readme to see how to solve this."); Utf8Encode(err_str, SCC_YELLOW); SetDParamStr(0, err_str); - ShowErrorMessage(STR_JUST_RAW_STRING, INVALID_STRING_ID, 0, 0); + ShowErrorMessage(STR_JUST_RAW_STRING, INVALID_STRING_ID, WL_WARNING); /* Reset the font width */ LoadStringWidthTable(); @@ -1635,7 +1635,7 @@ void CheckForMissingGlyphsInLoadedLanguagePack() static char *err_str = strdup("XXXThis version of OpenTTD does not support right-to-left languages. Recompile with icu enabled."); Utf8Encode(err_str, SCC_YELLOW); SetDParamStr(0, err_str); - ShowErrorMessage(STR_JUST_RAW_STRING, INVALID_STRING_ID, 0, 0); + ShowErrorMessage(STR_JUST_RAW_STRING, INVALID_STRING_ID, WL_ERROR); } #endif } |