[Tux4kids-commits] r1507 - tuxtype/trunk/src

David Bruce dbruce-guest at alioth.debian.org
Thu Sep 10 20:17:51 UTC 2009


Author: dbruce-guest
Date: 2009-09-10 20:17:51 +0000 (Thu, 10 Sep 2009)
New Revision: 1507

Modified:
   tuxtype/trunk/src/playgame.c
   tuxtype/trunk/src/scripting.c
Log:
fix of braces typo in scripting



Modified: tuxtype/trunk/src/playgame.c
===================================================================
--- tuxtype/trunk/src/playgame.c	2009-09-10 19:55:30 UTC (rev 1506)
+++ tuxtype/trunk/src/playgame.c	2009-09-10 20:17:51 UTC (rev 1507)
@@ -212,7 +212,8 @@
 
       if (settings.sys_sound)
       {
-        sprintf(filename, "kmus%i.wav", curlevel + 1);
+          sprintf(filename, "amidst_the_raindrops.ogg");
+//        sprintf(filename, "kmus%i.wav", curlevel + 1);
         MusicLoad( filename, -1 );
       }
 

Modified: tuxtype/trunk/src/scripting.c
===================================================================
--- tuxtype/trunk/src/scripting.c	2009-09-10 19:55:30 UTC (rev 1506)
+++ tuxtype/trunk/src/scripting.c	2009-09-10 20:17:51 UTC (rev 1507)
@@ -583,14 +583,14 @@
                 {
                     found = 0;
                 }
-            {
+            }
 
         } while ( fscanf_result != EOF && !found );
         
         /* -- if we reached the end of the file and saw no close to the comment, generate a warning -- */
         if ( !found && fscanf_result == EOF )
         {
-            fprintf(stderr, "XML Warning: End of file reached looking for the end of a comment.\n", fn);
+            fprintf(stderr, "XML Warning: End of file reached looking for the end of a comment.\n");
             break;
         }
 




More information about the Tux4kids-commits mailing list