summaryrefslogtreecommitdiff
path: root/x11-toolkits/slingshot/files/patch-examples-grip-puzzdemo.c
blob: 61a78fb4cea47b4f5fc84c60e11301fb40e535d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- examples/grip/puzzdemo.c.orig	1993-10-25 16:39:39.000000000 -0700
+++ examples/grip/puzzdemo.c	2013-09-17 08:44:03.422374693 -0700
@@ -628,7 +628,7 @@
 	  for (x=0; x< N_HORI; x++)
 		if(xv_get(puzzle_tile, ARRAY_TILE_POSITION, x, y) !=
 		   get_solved_piece(x, y))
-			return;
+			return 0;
 	xv_set(frame, 
 		FRAME_LEFT_FOOTER, "Congratulations!",
 		NULL);