mirror of
https://github.com/SuspiciousActivity/ByteEdit.git
synced 2026-08-13 17:56:17 +00:00
String Search now uses contains instead of startsWith
This commit is contained in:
1 parent
cf2248b2d1
commit
0538d3f588
1 file changed
+1
-1
@@ -152,7 +152,7 @@ public class GlobalSearchBox extends JFrame {
|
||||
if (ignoreCase) {
|
||||
s = s.toLowerCase();
|
||||
}
|
||||
if (s.startsWith(str)) {
|
||||
if (s.contains(str)) {
|
||||
set.add(new Info(cn.name, mn.name, mn.desc, mn));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user