Skip to content

Commit

Permalink
[godot] Fix compilation with emscripten.
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Oct 17, 2024
1 parent 0954267 commit e4469dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spine-godot/spine_godot/SpineAtlasResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class GodotSpineTextureLoader : public spine::TextureLoader {
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;
}

Expand Down

0 comments on commit e4469dc

Please sign in to comment.