summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-06-07 11:52:21 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-06-07 11:52:21 +0200
commit1bbafc3d4e4834fac58af0e149eb9a9acff26d4e (patch)
tree3b22fd6665ce2602b68c7e278eaed395de083a51 /src/plugins/irc
parent9a45c8995e16704114456b01652464519d25d43f (diff)
downloadweechat-1bbafc3d4e4834fac58af0e149eb9a9acff26d4e.zip
Fix display problem with bar item "away" in IRC plugin
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-bar-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-bar-item.c b/src/plugins/irc/irc-bar-item.c
index 9a199d109..29d026251 100644
--- a/src/plugins/irc/irc-bar-item.c
+++ b/src/plugins/irc/irc-bar-item.c
@@ -57,7 +57,7 @@ irc_bar_item_away (void *data, struct t_gui_bar_item *item,
if (server && server->is_away)
{
- length = strlen (_("away") + 64 + 1);
+ length = strlen (_("away")) + 64 + 1;
buf = malloc (length);
if (buf)
{