projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bca5afe
)
added converting cave (set) story text to internal text format
author
Holger Schemel
<holger.schemel@virtion.de>
Fri, 8 Nov 2024 20:16:41 +0000
(21:16 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Fri, 8 Nov 2024 16:17:32 +0000
(17:17 +0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 5b39e563ae2b6f951c27daab4d96aab0930ab20d..6f1083f3f3838c185e60cf56420e9c6345952294 100644
(file)
--- 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) :
- get
StringCopy
(buffer));
+ get
Latin1FromUTF8
(buffer));
int line_spacing = getMenuTextSpacing(menu.line_spacing_info[info_mode], tmi->font);
FreeWrappedText(wrapped_text);