projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup of function for fading laser in MM engine
[rocksndiamonds.git]
/
src
/
libgame
/
text.c
diff --git
a/src/libgame/text.c
b/src/libgame/text.c
index ce855daf9604496ddc89287ae8cade95676f37b7..4de7319a7e131a6bf4a996cac727f5caaa506e40 100644
(file)
--- a/
src/libgame/text.c
+++ b/
src/libgame/text.c
@@
-404,6
+404,9
@@
static boolean RenderLineToBuffer(char **src_buffer_ptr, char *dst_buffer,
char *word_ptr;
int word_len;
+ if (strEqual(text_ptr, " ")) // special case: force line break
+ buffer_filled = TRUE;
+
// skip leading whitespaces
while (*text_ptr == ' ' || *text_ptr == '\t')
text_ptr++;