diff --git a/core/src/main/java/com/threerings/resource/ResourceManager.java b/core/src/main/java/com/threerings/resource/ResourceManager.java index e1d060f6..18773c83 100644 --- a/core/src/main/java/com/threerings/resource/ResourceManager.java +++ b/core/src/main/java/com/threerings/resource/ResourceManager.java @@ -407,8 +407,8 @@ public class ResourceManager if (_rdir == null) { return null; } - if (!"/".equals(File.separator)) { - path = path.replace("/", File.separator); + if ('/' != File.separatorChar) { + path = path.replace('/', File.separatorChar); } // first try a locale-specific file String localePath = getLocalePath(path);