spelling: contain

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 08:52:43 -04:00
committed by Jindra Petřík
parent 54f81d5bfe
commit 8f998cb659

View File

@@ -1432,7 +1432,7 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
public void hilightScript(String nameIncludingSwfHash) {
if (!nameIncludingSwfHash.contains(":")) {
throw new RuntimeException("Script name should conatin swfHash");
throw new RuntimeException("Script name should contain swfHash");
}
String swfHash = nameIncludingSwfHash.substring(nameIncludingSwfHash.indexOf(":"));
String name = nameIncludingSwfHash.substring(nameIncludingSwfHash.indexOf(":") + 1);