From a87f6f32a6ce41623e893cc054591e9fe67d199f Mon Sep 17 00:00:00 2001
From: Robert Bragg <robert@linux.intel.com>
Date: Sat, 6 Jun 2009 21:33:31 +0100
Subject: [PATCH] [test-blend-strings] Fix a silly off by one that meant the
 test couldn't fail

The test was quiting after the 2nd frame but it should be the third frame because
the test doesn't actually check results until the third frame due to the workaround
for drivers with broken glReadPixels.

(When first written the test would have been verified with the
clutter_main_quit() commented out which gives visual feedback of what the
test does, so the off by one would have snuck in just before uncommenting
and pushing.)
---
 tests/conform/test-blend-strings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/conform/test-blend-strings.c b/tests/conform/test-blend-strings.c
index 01979964d..12ada130f 100644
--- a/tests/conform/test-blend-strings.c
+++ b/tests/conform/test-blend-strings.c
@@ -359,7 +359,7 @@ on_paint (ClutterActor *actor, TestState *state)
 
   /* Comment this out if you want visual feedback for what this test paints */
 #if 1
-  if (frame_num == 2)
+  if (frame_num == 3)
     clutter_main_quit ();
 #endif
 }