[gthumb] removed duplicated definition of CLAMP_PIXEL
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] removed duplicated definition of CLAMP_PIXEL
- Date: Fri, 6 Feb 2015 09:59:17 +0000 (UTC)
commit e0292c291e86bee24bb23cc53240223bdeac0728
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Feb 6 10:49:43 2015 +0100
removed duplicated definition of CLAMP_PIXEL
gthumb/cairo-scale.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/cairo-scale.c b/gthumb/cairo-scale.c
index 5b5015e..5fc7b8a 100644
--- a/gthumb/cairo-scale.c
+++ b/gthumb/cairo-scale.c
@@ -29,7 +29,6 @@
#include "glib-utils.h"
-#define CLAMP_PIXEL(v) (((v) <= 0) ? 0 : ((v) >= 255) ? 255 : (v));
#define EPSILON ((ScaleReal) 1.0e-16)
@@ -409,6 +408,7 @@ horizontal_scale_transpose (cairo_surface_t *image,
int n;
int x;
int i;
+ int temp;
#ifdef HAVE_VECTOR_OPERATIONS
r4vector v_pixel, v_rgba;
#endif /* HAVE_VECTOR_OPERATIONS */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]