OSDN Git Service

and reverted
authorbadlogic <badlogicgames@gmail.com>
Tue, 17 Sep 2013 08:29:38 +0000 (10:29 +0200)
committerbadlogic <badlogicgames@gmail.com>
Tue, 17 Sep 2013 08:29:38 +0000 (10:29 +0200)
gdx/src/com/badlogic/gdx/files/FileHandle.java

index 958854e..aa144f0 100644 (file)
@@ -128,7 +128,7 @@ public class FileHandle {
        public InputStream read () {\r
                if (type == FileType.Classpath || (type == FileType.Internal && !file().exists())\r
                        || (type == FileType.Local && !file().exists())) {\r
-                       InputStream input = FileHandle.class.getResourceAsStream("/" + file().getPath().replace('\\', '/'));\r
+                       InputStream input = FileHandle.class.getResourceAsStream("/" + file.getPath().replace('\\', '/'));\r
                        if (input == null) throw new GdxRuntimeException("File not found: " + file + " (" + type + ")");\r
                        return input;\r
                }\r