tests/auto/qimage/tst_qimage.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
child 37 758a864f9613
--- a/tests/auto/qimage/tst_qimage.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/tests/auto/qimage/tst_qimage.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -945,11 +945,11 @@
         const int n = original.colorTable().size();
         for (int x = 0; x < w; ++x) {
             original.setPixel(x, 0, x % n);
-            original.setPixel(x,h - 1, n - (x % n));
+            original.setPixel(x, h - 1, n - (x % n) - 1);
         }
         for (int y = 0; y < h; ++y) {
             original.setPixel(0, y, y % n);
-            original.setPixel(w - 1, y, n - (y % n));
+            original.setPixel(w - 1, y, n - (y % n) - 1);
         }
     }