File tuxtype_w_fonts-1.5.17-uninitialized_variables.patch of Package tuxtype

Index: tuxtype/laser.c
===================================================================
--- tuxtype/laser.c.orig
+++ tuxtype/laser.c
@@ -96,6 +96,7 @@
 
 	done = 0;
 	quit = 0;
+	src.w = src.h = 0;
   
 	/* Prepare to start the game: */
   
@@ -322,7 +323,7 @@
 			while (tux_img == old_tux_img)
 				tux_img = IMG_TUX_CONSOLE1 + (rand() % 3);
 
-			playsound(sounds[SND_CLICK]);
+			PlaySound(sounds[SND_CLICK]);
 		}
openSUSE Build Service is sponsored by