mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[godot] Fix compilation with emscripten.
This commit is contained in:
parent
09542677f4
commit
e4469dc77b
@ -71,7 +71,7 @@ public:
|
|||||||
static bool fix_path(String &path) {
|
static bool fix_path(String &path) {
|
||||||
const String prefix = "res:/";
|
const String prefix = "res:/";
|
||||||
auto i = path.find(prefix);
|
auto i = path.find(prefix);
|
||||||
if (i == std::string::npos) {
|
if (i == -1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user