summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-04-04 19:01:27 +0200
committerRichard Hughes <richard@hughsie.com>2014-04-05 01:29:57 +0200
commitc8000634c4f7bafe116dcbf567fe00cb964cff12 (patch)
treece84a4b112871a06253dd25571e4cd675ad159a2
parent207a325a818e33e162092d11ea85449316868873 (diff)
downloadcolord-c8000634c4f7bafe116dcbf567fe00cb964cff12.tar.gz
trivial: Fix up the tests for CdTransform
The width and height were swapped, which for most of the time doesn't matter. When the image is stored planar, it really matters.
-rw-r--r--lib/colord/cd-test-private.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/colord/cd-test-private.c b/lib/colord/cd-test-private.c
index 696020e..56ab8bc 100644
--- a/lib/colord/cd-test-private.c
+++ b/lib/colord/cd-test-private.c
@@ -1667,8 +1667,8 @@ colord_transform_func (void)
ret = cd_transform_process (transform,
img_data_in,
img_data_check,
- height,
width,
+ height,
width,
NULL,
&error);
@@ -1680,8 +1680,8 @@ colord_transform_func (void)
ret = cd_transform_process (transform,
img_data_in,
img_data_out,
- height,
width,
+ height,
width,
NULL,
&error);
@@ -1698,8 +1698,8 @@ colord_transform_func (void)
ret = cd_transform_process (transform,
img_data_in,
img_data_out,
- height,
width,
+ height,
width,
NULL,
&error);