bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch 755 B

123456789101112131415161718192021222324252627
  1. From bdc281eadb1d58d5c0c7bbc1125ee4674256df08 Mon Sep 17 00:00:00 2001
  2. From: Pierre Joye <pierre.php@gmail.com>
  3. Date: Wed, 25 Aug 2021 15:28:32 +0700
  4. Subject: [PATCH] Fix #318, these macros are not used as planed, we have
  5. separate functions for each
  6. ---
  7. src/gd.h | 5 -----
  8. 1 file changed, 5 deletions(-)
  9. diff --git a/src/gd.h b/src/gd.h
  10. index 5728a25e..51b96610 100644
  11. --- a/src/gd.h
  12. +++ b/src/gd.h
  13. @@ -1604,11 +1604,6 @@ BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im);
  14. BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im);
  15. BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im);
  16. -#define GD_FLIP_HORINZONTAL 1 /* typo, kept for BC */
  17. -#define GD_FLIP_HORIZONTAL 1
  18. -#define GD_FLIP_VERTICAL 2
  19. -#define GD_FLIP_BOTH 3
  20. -
  21. /**
  22. * Group: Crop
  23. *