diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-14 11:30:08 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-14 11:30:08 +0200 |
commit | 1cb7c6a6c5ef1ffd647779f41806a4be7f557622 (patch) | |
tree | 246aed1c6bc394a63c0d70f38354601134b4cfbc /src/plugins/irc | |
parent | fb4c1ed1e9ece94ad1ed9a0a42b91e16a371566f (diff) | |
download | weechat-1cb7c6a6c5ef1ffd647779f41806a4be7f557622.zip |
core: return info about line/word for chat area in focus hashtable, add keys m/q/Q to quote line in cursor mode, sort mouse keys by priority
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-bar-item.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-bar-item.c b/src/plugins/irc/irc-bar-item.c index 61c5b461f..9625b3cfa 100644 --- a/src/plugins/irc/irc-bar-item.c +++ b/src/plugins/irc/irc-bar-item.c @@ -507,6 +507,9 @@ irc_bar_item_focus_buffer_nicklist (void *data, const char *str_buffer, *nick; str_buffer = weechat_hashtable_get (info, "_buffer"); + if (!str_buffer || !str_buffer[0]) + return NULL; + rc = sscanf (str_buffer, "%lx", &value); if ((rc == EOF) || (rc == 0)) return NULL; |