gd-2.3.3
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From bdc281eadb1d58d5c0c7bbc1125ee4674256df08 Mon Sep 17 00:00:00 2001
|
||||
From: Pierre Joye <pierre.php@gmail.com>
|
||||
Date: Wed, 25 Aug 2021 15:28:32 +0700
|
||||
Subject: [PATCH] Fix #318, these macros are not used as planed, we have
|
||||
separate functions for each
|
||||
|
||||
---
|
||||
src/gd.h | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/src/gd.h b/src/gd.h
|
||||
index 5728a25e..51b96610 100644
|
||||
--- a/src/gd.h
|
||||
+++ b/src/gd.h
|
||||
@@ -1604,11 +1604,6 @@ BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im);
|
||||
BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im);
|
||||
BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im);
|
||||
|
||||
-#define GD_FLIP_HORINZONTAL 1 /* typo, kept for BC */
|
||||
-#define GD_FLIP_HORIZONTAL 1
|
||||
-#define GD_FLIP_VERTICAL 2
|
||||
-#define GD_FLIP_BOTH 3
|
||||
-
|
||||
/**
|
||||
* Group: Crop
|
||||
*
|
||||
Reference in New Issue
Block a user