diff options
author | isundil <isundil@knacki.info> | 2016-04-30 18:26:26 +0000 |
---|---|---|
committer | isundil <isundil@knacki.info> | 2016-04-30 18:26:26 +0000 |
commit | b63339af89abc9830ecf8c56916db9eb1a42e005 (patch) | |
tree | 3ff955bab0df4ae5c45aa9571c6064cda81d053d /src | |
parent | e7a18759ecb02a0b1fcbb118b9e732e604268afd (diff) | |
download | irssi-b63339af89abc9830ecf8c56916db9eb1a42e005.zip |
Increased ABI version
Diffstat (limited to 'src')
-rw-r--r-- | src/common.h | 2 | ||||
-rw-r--r-- | 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); |