Browse Source

Fix StupidSearch

This fixes stupid stuff like Phil's Relto linking panel and the Words covers
Adam Johnson 13 years ago
parent
commit
ec216206dd
  1. 2
      Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.cpp

2
Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.cpp

@ -109,7 +109,7 @@ hsBool NameMatches(const char* obName, const char* pKName, hsBool subString)
}
else
{
if (plString(_TEMP_CONVERT_FROM_LITERAL(p)).Find(p, plString::kCaseInsensitive) >= 0)
if (_TEMP_CONVERT_FROM_LITERAL(p).Find(o, plString::kCaseInsensitive) >= 0)
return true;
}

Loading…
Cancel
Save