1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00

Fixed startup crash when weechat config file is not found

This commit is contained in:
Sebastien Helleu
2005-05-24 14:10:56 +00:00
parent 29ffe7e0d8
commit 01186c6c8b
4 changed files with 22 additions and 14 deletions
+6 -6
View File
@@ -2600,14 +2600,14 @@ gui_printf_type_color (t_gui_buffer *buffer, int type, int color, char *message,
wee_log_printf ("gui_printf without buffer! this is a bug, please send to developers - thanks\n");
return;
}
if (buffer->dcc)
buffer = gui_buffers;
if (buffer->dcc)
return;
}
if (buffer->dcc)
buffer = gui_buffers;
if (buffer->dcc)
return;
va_start (argptr, message);
vsnprintf (buf, sizeof (buf) - 1, message, argptr);
va_end (argptr);