X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Ftext.c;h=dbec20df90e98aac1882d7e875d555310db2d49a;hb=7f8f5498ebbb9cbfd0857dce7e53b64bf6603aa4;hp=02a23c3d43b02a053ffabf7fced633d441531de4;hpb=6229b51a03a4113fa799587e0f58fcea0f634d41;p=rocksndiamonds.git diff --git a/src/libgame/text.c b/src/libgame/text.c index 02a23c3d..dbec20df 100644 --- a/src/libgame/text.c +++ b/src/libgame/text.c @@ -4,7 +4,7 @@ // (c) 1995-2014 by Artsoft Entertainment // Holger Schemel // info@artsoft.org -// http://www.artsoft.org/ +// https://www.artsoft.org/ // ---------------------------------------------------------------------------- // 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) - 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,