From: Holger Schemel Date: Fri, 8 Nov 2024 20:16:41 +0000 (+0100) Subject: added converting cave (set) story text to internal text format X-Git-Tag: 4.4.0.0-test-4~73 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=6e7a0b91ee77cd38dc44e079b2286d33950adead;p=rocksndiamonds.git added converting cave (set) story text to internal text format --- diff --git a/src/screens.c b/src/screens.c index 5b39e563..6f1083f3 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4176,7 +4176,7 @@ static void SetWrappedText_GenericScreen(struct TitleMessageInfo *tmi, char *buffer = getInfoScreenBuffer_Generic(); char *raw_text = (filename != NULL ? // always prefer info text files over buffers GetTextBufferFromFile(filename, MAX_OUTPUT_LINESIZE) : - getStringCopy(buffer)); + getLatin1FromUTF8(buffer)); int line_spacing = getMenuTextSpacing(menu.line_spacing_info[info_mode], tmi->font); FreeWrappedText(wrapped_text);