From 6e7a0b91ee77cd38dc44e079b2286d33950adead Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 8 Nov 2024 21:16:41 +0100 Subject: [PATCH] added converting cave (set) story text to internal text format --- src/screens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1