Fix an off-by-one bug in the calculation of the amount of levels, which made it
possible to see the end-sequence just by clicking the dice.

Signed-off-by: Wolfram Sang <wolfram@iswi.org>
---
 shapegame.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Index: upstream/shapegame.c
===================================================================
--- upstream.orig/shapegame.c
+++ upstream/shapegame.c
@@ -261,14 +261,12 @@ static void start_board (GcomprisBoard *
       /**/
       while( (filename = gc_file_find_absolute("%s/board%d_0.xml",
 							 gcomprisBoard->boarddir,
-							 gcomprisBoard->maxlevel++,
+							 gcomprisBoard->maxlevel,
 							 NULL)) )
 	{
+	  gcomprisBoard->maxlevel++;
 	  g_free(filename);
-
 	}
-
-      /**/
       gcomprisBoard->maxlevel--;
 
       gc_bar_set(GC_BAR_CONFIG|GC_BAR_LEVEL);



