mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-05 06:44:56 +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) {
|
||||
const String prefix = "res:/";
|
||||
auto i = path.find(prefix);
|
||||
if (i == std::string::npos) {
|
||||
if (i == -1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user