From b63339af89abc9830ecf8c56916db9eb1a42e005 Mon Sep 17 00:00:00 2001 From: isundil Date: Sat, 30 Apr 2016 18:26:26 +0000 Subject: [PATCH] Increased ABI version --- src/common.h | 2 +- src/fe-common/core/hilight-text.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common.h b/src/common.h index 33dbd481..4fd6d331 100644 --- a/src/common.h +++ b/src/common.h @@ -6,7 +6,7 @@ #define IRSSI_GLOBAL_CONFIG "irssi.conf" /* config file name in /etc/ */ #define IRSSI_HOME_CONFIG "config" /* config file name in ~/.irssi/ */ -#define IRSSI_ABI_VERSION 3 +#define IRSSI_ABI_VERSION 4 #define DEFAULT_SERVER_ADD_PORT 6667 diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c index d1c4718c..36e1e78c 100644 --- a/src/fe-common/core/hilight-text.c +++ b/src/fe-common/core/hilight-text.c @@ -218,8 +218,7 @@ static int hilight_match_text(HILIGHT_REC *rec, const char *text, match = rec->fullword ? strstr_full(text, rec->text) : strstr(text, rec->text); - } - else { + } else { match = rec->fullword ? stristr_full(text, rec->text) : stristr(text, rec->text);