Fix sprite export x and y offset output

This commit is contained in:
Michael Steenbeek 2022-11-02 19:58:32 +01:00 committed by GitHub
parent afd0346d66
commit 5451b152ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ int32_t cmdline_for_sprite(const char** argv, int32_t argc)
fprintf(stderr, "Could not export\n");
return -1;
}
fprintf(stdout, "{ \"x\": %u, \"y\": %u }\n", spriteHeader.x_offset, spriteHeader.y_offset);
fprintf(stdout, "{ \"x\": %d, \"y\": %d }\n", spriteHeader.x_offset, spriteHeader.y_offset);
return 1;
}