summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-12-14 22:04:28 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-12-14 22:04:28 +0000
commit740ab0d5500a1bf060e4e51d2fcdc07e214c725e (patch)
tree81a7a078fb1d873cfb2265074a12f2ac2e00e218 /src
parent496db0eefc2440097d11aace182acda2901c4fe9 (diff)
downloadirssi-740ab0d5500a1bf060e4e51d2fcdc07e214c725e.zip
warning fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2247 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/hilight-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c
index ffb90a88..7fa970bb 100644
--- a/src/fe-common/core/hilight-text.c
+++ b/src/fe-common/core/hilight-text.c
@@ -297,9 +297,9 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text,
nick_match = hilight->nick && (dest->level & (MSGLEVEL_PUBLIC|MSGLEVEL_ACTIONS)) == MSGLEVEL_PUBLIC;
+ old_level = dest->level;
if (!nick_match || (dest->level & MSGLEVEL_HILIGHT)) {
/* update the level / hilight info */
- old_level = dest->level;
hilight_update_text_dest(dest, hilight);
}