Skip to content
Snippets Groups Projects
Commit dcae5acb authored by tcarver's avatar tcarver
Browse files

fix for ID

parent b41b8204
No related branches found
No related tags found
No related merge requests found
...@@ -1086,7 +1086,7 @@ public class WriteMenu extends SelectionMenu ...@@ -1086,7 +1086,7 @@ public class WriteMenu extends SelectionMenu
if(tok.hasMoreTokens()) if(tok.hasMoreTokens())
{ {
String ID = tok.nextToken(); String ID = tok.nextToken();
if(ID.length() > 1 && ID.indexOf("\n") > -1 && ID.indexOf("\r") > -1) if(ID.length() > 1 && !(ID.indexOf("\n") > -1) && !(ID.indexOf("\r") > -1))
name = ID + " all_bases"; name = ID + " all_bases";
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment