[gimp/gimp-2-10] avoid conflict with win32 macro
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] avoid conflict with win32 macro
- Date: Sun, 15 Sep 2019 18:18:23 +0000 (UTC)
commit bf5a0460f1387cc9972fcc408f027b8e6f7130d1
Author: lillolollo <4179-lillolollo users noreply gitlab gnome org>
Date: Sun Sep 15 18:18:10 2019 +0000
avoid conflict with win32 macro
plug-ins/file-jpeg/jpeg-save.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/file-jpeg/jpeg-save.c b/plug-ins/file-jpeg/jpeg-save.c
index 93598e8a12..4af4d1dd06 100644
--- a/plug-ins/file-jpeg/jpeg-save.c
+++ b/plug-ins/file-jpeg/jpeg-save.c
@@ -53,7 +53,7 @@ static gboolean arithc_supported = FALSE;
#define SCALE_WIDTH 125
/* See bugs #63610 and #61088 for a discussion about the quality settings */
-#define DEFAULT_QUALITY 90.0
+#define DEFAULT_IJG_QUALITY 90.0
#define DEFAULT_SMOOTHING 0.0
#define DEFAULT_OPTIMIZE TRUE
#define DEFAULT_ARITHMETIC_CODING FALSE
@@ -1293,7 +1293,7 @@ save_dialog_response (GtkWidget *widget,
void
load_defaults (void)
{
- jsvals.quality = DEFAULT_QUALITY;
+ jsvals.quality = DEFAULT_IJG_QUALITY;
jsvals.smoothing = DEFAULT_SMOOTHING;
jsvals.optimize = DEFAULT_OPTIMIZE;
jsvals.arithmetic_coding= DEFAULT_ARITHMETIC_CODING;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]