reftest-compare: Fix spelling of "diff"
authorSimon McVittie <smcv@debian.org>
Sat, 13 Feb 2021 18:25:18 +0000 (18:25 +0000)
committerSimon McVittie <smcv@debian.org>
Mon, 15 Feb 2021 09:22:41 +0000 (09:22 +0000)
This is the only non-whitespace difference between the copies in
testsuite/reftests/ and testsuite/gsk/.

Signed-off-by: Simon McVittie <smcv@debian.org>
testsuite/reftests/reftest-compare.c

index 651eac9ca967136e616a3570dc3bc715645af60a..34285ace72ef638d30ba8d29cc6ddab140ce9551 100644 (file)
@@ -121,15 +121,15 @@ buffer_diff_core (const guchar *buf_a,
             {
               int value_a = (row_a[x] >> (channel*8)) & 0xff;
               int value_b = (row_b[x] >> (channel*8)) & 0xff;
-              guint channel_difff;
-
-              channel_difff = ABS (value_a - value_b);
-              channel_difff *= 4;  /* emphasize */
-              if (channel_difff)
-                channel_difff += 128; /* make sure it's visible */
-              if (channel_difff > 255)
-                channel_difff = 255;
-              diff_pixel |= channel_difff << (channel * 8);
+              guint channel_diff;
+
+              channel_diff = ABS (value_a - value_b);
+              channel_diff *= 4;  /* emphasize */
+              if (channel_diff)
+                channel_diff += 128; /* make sure it's visible */
+              if (channel_diff > 255)
+                channel_diff = 255;
+              diff_pixel |= channel_diff << (channel * 8);
             }
 
           if ((diff_pixel & 0x00ffffff) == 0)