diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-15 08:56:40 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-15 08:56:40 +0200 |
commit | 18a59cf8aaefcbd16d48387b68ce9ae874162c64 (patch) | |
tree | 09f9d42326ea6d5da90d534ddb352fd54ff9a29b /src/plugins | |
parent | e5bf0a498b9aecd1df0e2388845d82c406336a49 (diff) | |
download | weechat-18a59cf8aaefcbd16d48387b68ce9ae874162c64.zip |
Fix bug/crash when any color option is changed (bug #23566)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-nick.c | 1 | ||||
-rw-r--r-- | src/plugins/irc/irc.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-nick.c b/src/plugins/irc/irc-nick.c index 464d585c9..67289a31d 100644 --- a/src/plugins/irc/irc-nick.c +++ b/src/plugins/irc/irc-nick.c @@ -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"))) { diff --git a/src/plugins/irc/irc.h b/src/plugins/irc/irc.h index 38b54d446..14874cee7 100644 --- a/src/plugins/irc/irc.h +++ b/src/plugins/irc/irc.h @@ -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") |