From 172223578d79b5b7bf706297c045065638637694 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 30 Jan 2022 17:36:41 +0100 Subject: [PATCH] fix lowercase search --- src/lib/ebus/filereader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ebus/filereader.cpp b/src/lib/ebus/filereader.cpp index 3e1414aa..69e20817 100755 --- a/src/lib/ebus/filereader.cpp +++ b/src/lib/ebus/filereader.cpp @@ -129,7 +129,7 @@ bool FileReader::matches(const string& input, const string& search, bool ignoreC return matches(inputSub, search, false, true); } string searchSub = search; - tolower(&inputSub); + tolower(&searchSub); return matches(inputSub, searchSub, false, true); } // walk through alternatives