mirror of
https://github.com/ocornut/imgui.git
synced 2024-12-01 10:47:24 +01:00
Merge pull request #1350 from benvanik/patch-2
Fix binary_to_compressed_c tool to return 0 when successful.
This commit is contained in:
commit
2ca1884a39
@ -53,8 +53,7 @@ int main(int argc, char** argv)
|
||||
}
|
||||
}
|
||||
|
||||
binary_to_compressed_c(argv[argn], argv[argn+1], use_base85_encoding, use_compression);
|
||||
return 1;
|
||||
return binary_to_compressed_c(argv[argn], argv[argn+1], use_base85_encoding, use_compression) ? 0 : 1;
|
||||
}
|
||||
|
||||
char Encode85Byte(unsigned int x)
|
||||
|
Loading…
Reference in New Issue
Block a user