summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-21 12:56:27 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-21 12:56:27 +0000
commitd62177df3ccf0ff19df1cd54bebf1b57c167dc19 (patch)
treee9c24f740291867955bcc715a69d811cc05bf530 /src
parent8349d88c11ea7af25fd87841b0efe4534d0d7e72 (diff)
downloadirssi-d62177df3ccf0ff19df1cd54bebf1b57c167dc19.zip
crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@855 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/formats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c
index 8d8ccaac..a369c209 100644
--- a/src/fe-common/core/formats.c
+++ b/src/fe-common/core/formats.c
@@ -431,7 +431,7 @@ static char *get_server_tag(THEME_REC *theme, TEXT_DEST_REC *dest)
if (servers->next != NULL)
count++;
}
- if (count == 2 || lookup_servers != NULL) {
+ if (count < 2 && lookup_servers != NULL) {
count++;
if (lookup_servers->next != NULL)
count++;