Skip to content

Commit

Permalink
fixed bug in loading single states by name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Milner committed Jun 27, 2024
1 parent 9017fa1 commit 91a3066
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public synchronized static XY_DataSet[] loadCAOutlines() throws IOException {
}

public synchronized static XY_DataSet[] loadUSState(String stateName) throws IOException {
stateName = stateName.trim().toLowerCase().replace(" ", "_");
stateName = stateName.trim().replace(" ", "_");
while (stateName.contains("__"))
stateName = stateName.replace("__", "_");
return checkLoadFile(US_PREFIX+stateName+".txt");
Expand Down

0 comments on commit 91a3066

Please sign in to comment.