1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Fix bug/crash when any color option is changed (bug #23566)

This commit is contained in:
Sebastien Helleu
2008-06-15 08:56:40 +02:00
parent e5bf0a498b
commit 18a59cf8aa
5 changed files with 72 additions and 96 deletions
+1
View File
@@ -507,6 +507,7 @@ irc_nick_as_prefix (struct t_irc_nick *nick, const char *nickname,
char prefix[2], str_prefix_color[64];
int prefix_color;
prefix[0] = '\0';
prefix[1] = '\0';
if (weechat_config_boolean (weechat_config_get ("weechat.look.nickmode")))
{
-1
View File
@@ -50,7 +50,6 @@
#define IRC_COLOR_CHAT weechat_color("chat")
#define IRC_COLOR_CHAT_CHANNEL weechat_color("chat_channel")
#define IRC_COLOR_CHAT_DELIMITERS weechat_color("chat_delimiters")
#define IRC_COLOR_CHAT_HIGHLIGHT weechat_color("chat_highlight")
#define IRC_COLOR_CHAT_HOST weechat_color("chat_host")
#define IRC_COLOR_CHAT_NICK weechat_color("chat_nick")
#define IRC_COLOR_CHAT_NICK_SELF weechat_color("chat_nick_self")