summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <goodytong@gmail.com>2018-07-31 21:34:44 +0700
committerUnknown <goodytong@gmail.com>2018-07-31 21:34:44 +0700
commit7fbb8264224c3194436e53df7f43d6b166200201 (patch)
tree8372f8b4363a976986235ad93481d136c664cea0
parent3f01f40e91c962b68fd18c0ca00144dfb6aee65f (diff)
Fix #20564 HDR import fail
Token has extra "0" at the end so it fail condition checking.
-rw-r--r--core/os/file_access.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/os/file_access.cpp b/core/os/file_access.cpp
index 3eac4428da..59f07c03e7 100644
--- a/core/os/file_access.cpp
+++ b/core/os/file_access.cpp
@@ -270,7 +270,6 @@ String FileAccess::get_token() const {
c = get_8();
}
- token += '0';
return String::utf8(token.get_data());
}