From 9ff485b32972a1e8e2d1b815d8b1965145d1d9a3 Mon Sep 17 00:00:00 2001 From: merni-ns Date: Tue, 14 Jan 2025 01:14:53 +0530 Subject: [PATCH] Fix #13304: Refer to font document in font error message Instead of referring to readme which doesn't say anything about this anymore --- src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strings.cpp b/src/strings.cpp index b62324b6f8..9279245d87 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -2329,7 +2329,7 @@ void CheckForMissingGlyphs(bool base_font, MissingGlyphSearcher *searcher) * properly we have to set the colour of the string, otherwise we end up with a lot of artifacts. * The colour 'character' might change in the future, so for safety we just Utf8 Encode it into * the string, which takes exactly three characters, so it replaces the "XXX" with the colour marker. */ - static std::string err_str("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."); + static std::string err_str("XXXThe current font is missing some of the characters used in the texts for this language. Go to Help & Manuals > Fonts, or read the file docs/fonts.md in your OpenTTD directory, to see how to solve this."); Utf8Encode(err_str.data(), SCC_YELLOW); SetDParamStr(0, err_str); ShowErrorMessage(STR_JUST_RAW_STRING, INVALID_STRING_ID, WL_WARNING);