changeset 884 | 9e6d9f0cf9eb |
parent 880 | ea983a945eba |
child 888 | 578d2034e971 |
--- a/mcabber/src/screen.c Sat May 27 19:17:01 2006 +0200 +++ b/mcabber/src/screen.c Sat May 27 19:46:20 2006 +0200 @@ -364,6 +364,15 @@ else buffer_locale = buffer; + if (!buffer_locale) { + wprintw(logWnd, + "\n%s*Error: cannot convert string to locale.", strtimestamp); + update_panels(); + doupdate(); + g_free(buffer); + return; + } + // For the special status buffer, we need utf-8, but without the timestamp if (flag & LPRINT_NOTUTF8) buf_specialwindow = to_utf8(btext);