Changeset 3993


Ignore:
Timestamp:
04/29/08 13:04:13 (12 years ago)
Author:
curtis
Message:

Fix Windows file path bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/POITools.java

    r3987 r3993  
    174174      r.exec(makeVarName("directory") + " = " + makeVarName("root")); 
    175175 
    176       StringTokenizer path = new StringTokenizer(name, File.separator); 
     176      StringTokenizer path = new StringTokenizer(name, "/"); 
    177177      int count = path.countTokens(); 
    178178      path.nextToken(); 
     
    220220          for (int i=0; i<filePath.size(); i++) { 
    221221            path.append((String) filePath.get(i)); 
    222             path.append(File.separator); 
     222            path.append("/"); 
    223223          } 
    224224          path.append((String) r.getVar(makeVarName("entryName"))); 
Note: See TracChangeset for help on using the changeset viewer.