summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-07-27 11:11:22 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-07-27 11:11:22 +0000
commit451f623c9881867de4895e4dbc5908ad1a1699f0 (patch)
treeb00569894a1169f9bbdf2b297ac2cd7a64f9108f
parent8df7ac464b288ad1f5be3a2b99b0a6112dda83bd (diff)
downloadweechat-451f623c9881867de4895e4dbc5908ad1a1699f0.zip
Fixed nick alignment problem when look_nickmode is off
-rw-r--r--ChangeLog3
-rw-r--r--src/irc/irc-display.c2
-rw-r--r--weechat/ChangeLog3
-rw-r--r--weechat/src/irc/irc-display.c2
4 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 241f393e7..0da37642f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
-ChangeLog - 2006-07-25
+ChangeLog - 2006-07-27
Version 0.2.0 (under dev!):
+ * fixed nick alignment problem when look_nickmode is off
* added generic function for incoming numeric IRC commands (bug #16611)
* fixed crash when doing "/part something" on a server buffer (bug #17201)
* charsets are now checked when set by /charset command
diff --git a/src/irc/irc-display.c b/src/irc/irc-display.c
index 743cf8b87..3a9d49113 100644
--- a/src/irc/irc-display.c
+++ b/src/irc/irc-display.c
@@ -171,7 +171,7 @@ irc_display_nick (t_gui_buffer *buffer, t_irc_nick *nick, char *nickname,
length += strlen (cfg_look_nick_prefix);
if (external_nick)
length += 2;
- if (nick)
+ if (nick && cfg_look_nickmode)
{
if (nick->flags & (NICK_CHANOWNER | NICK_CHANADMIN |
NICK_OP | NICK_HALFOP | NICK_VOICE))
diff --git a/weechat/ChangeLog b/weechat/ChangeLog
index 241f393e7..0da37642f 100644
--- a/weechat/ChangeLog
+++ b/weechat/ChangeLog
@@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
-ChangeLog - 2006-07-25
+ChangeLog - 2006-07-27
Version 0.2.0 (under dev!):
+ * fixed nick alignment problem when look_nickmode is off
* added generic function for incoming numeric IRC commands (bug #16611)
* fixed crash when doing "/part something" on a server buffer (bug #17201)
* charsets are now checked when set by /charset command
diff --git a/weechat/src/irc/irc-display.c b/weechat/src/irc/irc-display.c
index 743cf8b87..3a9d49113 100644
--- a/weechat/src/irc/irc-display.c
+++ b/weechat/src/irc/irc-display.c
@@ -171,7 +171,7 @@ irc_display_nick (t_gui_buffer *buffer, t_irc_nick *nick, char *nickname,
length += strlen (cfg_look_nick_prefix);
if (external_nick)
length += 2;
- if (nick)
+ if (nick && cfg_look_nickmode)
{
if (nick->flags & (NICK_CHANOWNER | NICK_CHANADMIN |
NICK_OP | NICK_HALFOP | NICK_VOICE))