projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed simple "printf()" debug output to new debug log function
[rocksndiamonds.git]
/
src
/
libgame
/
text.c
diff --git
a/src/libgame/text.c
b/src/libgame/text.c
index fbf7683ef2a112e74ae3936d49af0b2efc85fe30..dbec20df90e98aac1882d7e875d555310db2d49a 100644
(file)
--- a/
src/libgame/text.c
+++ b/
src/libgame/text.c
@@
-639,7
+639,7
@@
int DrawTextBufferVA(int x, int y, char *format, va_list ap, int font_nr,
int text_length = vsnprintf(text_buffer, MAX_OUTPUT_LINESIZE, format, ap);
if (text_length >= MAX_OUTPUT_LINESIZE)
int text_length = vsnprintf(text_buffer, MAX_OUTPUT_LINESIZE, format, ap);
if (text_length >= MAX_OUTPUT_LINESIZE)
-
Error(ERR_WARN,
"string too long in DrawTextBufferVA() -- truncated");
+
Warn(
"string too long in DrawTextBufferVA() -- truncated");
int num_lines_printed = DrawTextBuffer(x, y, text_buffer, font_nr,
line_length, cut_length, max_lines,
int num_lines_printed = DrawTextBuffer(x, y, text_buffer, font_nr,
line_length, cut_length, max_lines,