Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > a03b32dd3627f6b59b209e600101c0d2 > files > 3

tuxpaint-0.9.21-3.1.mga1.src.rpm

--- magic/src/puzzle.c.orig	2012-01-16 22:35:20.044597693 +0100
+++ magic/src/puzzle.c	2012-01-16 22:41:32.966109077 +0100
@@ -26,7 +26,6 @@
   (See COPYING.txt)
 */
 
-/*
 #include <time.h>	//for time()
 #include "tp_magic_api.h"
 #include "SDL_image.h"
@@ -181,10 +180,10 @@ static void puzzle_draw(void * ptr, int
 	   rect_this.y=y;
 	   rect_this.h=rect_this.w=puzzle_gcd;
 	   rect_that.h=rect_that.w=puzzle_gcd;
-  }
   
   SDL_BlitSurface(canvas, &rect_this, canvas, &rect_that);
   SDL_BlitSurface(snapshot, &rect_that, canvas, &rect_this);
+  }
 }
 
 void puzzle_drag(magic_api * api, int which, SDL_Surface * canvas,
@@ -210,4 +209,4 @@ void puzzle_click(magic_api * api, int w
 {
 	puzzle_drag(api, which, canvas, last, x, y, x, y, update_rect);
 }
-*/
+