@@ 35,12 35,13 @@ public class PediaIconsFile {
while (s.hasNextLine()) {
String nextLine = s.nextLine();
if (nextLine.startsWith("#TECH")) {
- String techEntry = s.nextLine();
+ String techIconPath = s.nextLine();
+ techIconPath = techIconPath.replaceAll("\\\\", "/");
if (nextLine.endsWith("_LARGE")) {
- largeIcons.put(nextLine.substring(1, nextLine.length() - 6), techEntry);
+ largeIcons.put(nextLine.substring(1, nextLine.length() - 6), techIconPath);
}
else {
- smallIcons.put(nextLine.substring(1), techEntry);
+ smallIcons.put(nextLine.substring(1), techIconPath);
}
}
else if (nextLine.startsWith("#start resources")) {
@@ 54,6 55,8 @@ public class PediaIconsFile {
}
String largeLine = s.nextLine();
String smallLine = s.nextLine();
+ largeLine = largeLine.replaceAll("\\\\", "/");
+ smallLine = smallLine.replaceAll("\\\\", "/");
largeIcons.put(key.substring(6), largeLine);
smallIcons.put(key.substring(6), smallLine);