diff --git a/src/list_window.c b/src/list_window.c
index ea4b3c28e9366edbb8fe09ddcec0548dab305ef2..010deb86002916951dbee3572d35112f9d13ee9d 100644 (file)
--- a/src/list_window.c
+++ b/src/list_window.c
#include "config.h"
#include "options.h"
#include "charset.h"
-#include "support.h"
+#include "match.h"
#include "command.h"
#include "colors.h"
do {
while ((label = callback(i,&h,callback_data))) {
- if (str && label && strcasestr(label, str)) {
+ if (str && label && match_line(label, str)) {
lw->selected = i;
return true;
}
do {
while (i >= 0 && (label = callback(i,&h,callback_data))) {
- if( str && label && strcasestr(label, str) ) {
+ if( str && label && match_line(label, str) ) {
lw->selected = i;
return true;
}