Fixed startup crash when weechat config file is not found
This commit is contained in:
parent
29ffe7e0d8
commit
01186c6c8b
@ -1,9 +1,13 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2005-05-21
|
||||
ChangeLog - 2005-05-24
|
||||
|
||||
|
||||
Version 0.1.3 (under dev!):
|
||||
* fixed startup crash when config file (~/.weechat/weechat.rc) is not found
|
||||
* improved Perl/Python libs detection for ./configure script
|
||||
|
||||
Version 0.1.2 (2005-05-21):
|
||||
* added Python plugin support, improved Perl interface (and now Perl/Python
|
||||
libraries are checked by configure script)
|
||||
|
@ -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);
|
||||
|
@ -1,9 +1,13 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2005-05-21
|
||||
ChangeLog - 2005-05-24
|
||||
|
||||
|
||||
Version 0.1.3 (under dev!):
|
||||
* fixed startup crash when config file (~/.weechat/weechat.rc) is not found
|
||||
* improved Perl/Python libs detection for ./configure script
|
||||
|
||||
Version 0.1.2 (2005-05-21):
|
||||
* added Python plugin support, improved Perl interface (and now Perl/Python
|
||||
libraries are checked by configure script)
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user