[gegl] correct size control for testing tool
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] correct size control for testing tool
- Date: Thu, 2 Aug 2012 19:20:36 +0000 (UTC)
commit e7dffb23f035d589ca531625ef342d70e508a6bb
Author: Ville Sokk <ville sokk gmail com>
Date: Mon Jul 9 12:49:16 2012 +0300
correct size control for testing tool
bin/gegl-tester.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/bin/gegl-tester.c b/bin/gegl-tester.c
index 361125c..37d095d 100644
--- a/bin/gegl-tester.c
+++ b/bin/gegl-tester.c
@@ -133,7 +133,8 @@ process_operations (GType type)
comp_bounds = gegl_node_get_bounding_box (composition);
ref_pixels = ref_bounds.width * ref_bounds.height;
- if (ref_pixels != (comp_bounds.width * comp_bounds.height))
+ if (ref_bounds.width != comp_bounds.width ||
+ ref_bounds.height != comp_bounds.height)
{
g_printf ("FAIL\n Reference and composition differ in size\n");
result = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]