1
0
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:
omar 2017-10-03 20:52:30 +02:00 committed by GitHub
commit 2ca1884a39

View File

@ -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)