OSDN Git Service
(root)
/
mikumikustudio
/
libgdx-mikumikustudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3616c70
)
and reverted
author
badlogic
<badlogicgames@gmail.com>
Tue, 17 Sep 2013 08:29:38 +0000
(10:29 +0200)
committer
badlogic
<badlogicgames@gmail.com>
Tue, 17 Sep 2013 08:29:38 +0000
(10:29 +0200)
gdx/src/com/badlogic/gdx/files/FileHandle.java
patch
|
blob
|
history
diff --git
a/gdx/src/com/badlogic/gdx/files/FileHandle.java
b/gdx/src/com/badlogic/gdx/files/FileHandle.java
index
958854e
..
aa144f0
100644
(file)
--- a/
gdx/src/com/badlogic/gdx/files/FileHandle.java
+++ b/
gdx/src/com/badlogic/gdx/files/FileHandle.java
@@
-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