0.98-gladpack.c.patch 511 B

1234567891011121314
  1. --- openglad-0.98/util/gladpack.c 2002-09-14 18:37:50.000000000 +1000
  2. +++ openglad-0.98/util/gladpack.c 2003-12-06 12:42:31.393812945 +1100
  3. @@ -9,8 +9,8 @@
  4. int main(int argc, char **argv)
  5. {
  6. - if (argc > 1 && !strcmp(argv[1], "p")) pack(argc, argv);
  7. - else if (argc > 1 && !strcmp(argv[1], "u")) unpack(argc, argv);
  8. + if (argc > 1 && !strcmp(argv[1], "p")) return pack(argc, argv);
  9. + else if (argc > 1 && !strcmp(argv[1], "u")) return unpack(argc, argv);
  10. else
  11. {
  12. printf("Usage: gladpack (p|u) ...\n");