Permalink
Browse files

Search is REALLY case-insensetive now

Now request gets lowercased too to prevent a situation when request
does not match with a string just because case differs.
  • Loading branch information...
1 parent b0eb7d5 commit 02a2f60f8a2d79b98d91938d1c3e5c230d9623e9 @Minoru committed Jul 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 findcd
View
2 findcd
@@ -45,7 +45,7 @@ BEGIN {
next
}
-match(tolower($0),"'$request'") {
+match(tolower($0), tolower("'$request'")) {
if ( isDiscNamePrinted == 0 ) {
print "\nDisc \""discName"\""
isDiscNamePrinted = 1

0 comments on commit 02a2f60

Please sign in to comment.