diff options
Diffstat (limited to 'src/fe-common/core/hilight-text.c')
-rw-r--r-- | src/fe-common/core/hilight-text.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |