Changeset 667 in tmcsimulator for trunk/src/tmcsim/cadsimulator/Coordinator.java
- Timestamp:
- 09/14/2022 04:38:20 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/tmcsim/cadsimulator/Coordinator.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/cadsimulator/Coordinator.java
r660 r667 596 596 private void copyXMLfile(String selectedFile) 597 597 { 598 int ptr = kSimClockFilename.lastIndexOf( System.getProperty("file.separator"));598 int ptr = kSimClockFilename.lastIndexOf("/"); // Slash is in .properties file 599 599 String foldername = kSimClockFilename.substring(0, ptr+1); 600 600 try { 601 // Windows will create the appropriate path from the slashes in foldername. 601 602 Path destination = Paths.get(foldername + kIncidentScriptFilename); 602 603 Path source = Paths.get(selectedFile);
Note: See TracChangeset
for help on using the changeset viewer.
