[Tux4kids-commits] r454 - tuxtype/branches/tuxtype-new/src

dbruce-guest at alioth.debian.org dbruce-guest at alioth.debian.org
Sun Mar 30 11:33:31 UTC 2008


Author: dbruce-guest
Date: 2008-03-30 11:33:30 +0000 (Sun, 30 Mar 2008)
New Revision: 454

Modified:
   tuxtype/branches/tuxtype-new/src/alphabet.c
   tuxtype/branches/tuxtype-new/src/laser.c
Log:
small patches from Lars Vogdt to alphabet.c, laser.c



Modified: tuxtype/branches/tuxtype-new/src/alphabet.c
===================================================================
--- tuxtype/branches/tuxtype-new/src/alphabet.c	2008-03-29 17:09:57 UTC (rev 453)
+++ tuxtype/branches/tuxtype-new/src/alphabet.c	2008-03-30 11:33:30 UTC (rev 454)
@@ -216,14 +216,14 @@
 
   if (i == MAX_UNICODES)
   {
-    fprintf(stderr, "GetFinger() - Unicode char '%C' not found in list.\n");
-    return -2;
+    fprintf(stderr, "GetFinger() - Unicode char '%C' not found in list.\n", uni_char);
+    return -2;
   }
 
   if ((keyboard_list[i].finger < 0)
    || (keyboard_list[i].finger > 9))
   {
-    fprintf(stderr, "GetFinger() - Unicode char '%C' has no valid finger.\n");
+    fprintf(stderr, "GetFinger() - Unicode char '%C' has no valid finger.\n",uni_char);
     return -1;
   }  
 

Modified: tuxtype/branches/tuxtype-new/src/laser.c
===================================================================
--- tuxtype/branches/tuxtype-new/src/laser.c	2008-03-29 17:09:57 UTC (rev 453)
+++ tuxtype/branches/tuxtype-new/src/laser.c	2008-03-30 11:33:30 UTC (rev 454)
@@ -96,7 +96,8 @@
 
 	done = 0;
 	quit = 0;
-  
+	src.w = src.h = 0;
+
 	/* Prepare to start the game: */
   
 	wave = 1;




More information about the Tux4kids-commits mailing list