[Tux4kids-commits] r818 - tuxmath/trunk/src

dbruce-guest at alioth.debian.org dbruce-guest at alioth.debian.org
Mon Dec 22 12:41:54 UTC 2008


Author: dbruce-guest
Date: 2008-12-22 12:41:54 +0000 (Mon, 22 Dec 2008)
New Revision: 818

Modified:
   tuxmath/trunk/src/game.c
   tuxmath/trunk/src/lessons.c
Log:
two small fixes needed for Windows cross-build to work



Modified: tuxmath/trunk/src/game.c
===================================================================
--- tuxmath/trunk/src/game.c	2008-12-20 03:45:34 UTC (rev 817)
+++ tuxmath/trunk/src/game.c	2008-12-22 12:41:54 UTC (rev 818)
@@ -184,6 +184,8 @@
 static int help_renderframe_exit(void);
 static void game_recalc_positions(void);
 
+void putpixel(SDL_Surface* surface, int x, int y, Uint32 pixel);
+
 #ifdef TUXMATH_DEBUG
 static void print_exit_conditions(void);
 static void print_status(void);

Modified: tuxmath/trunk/src/lessons.c
===================================================================
--- tuxmath/trunk/src/lessons.c	2008-12-20 03:45:34 UTC (rev 817)
+++ tuxmath/trunk/src/lessons.c	2008-12-22 12:41:54 UTC (rev 818)
@@ -137,7 +137,7 @@
 #ifdef HAVE_BASENAME
   return strcasecmp(basename(s1), basename(s2));
 #else
-  return strcasecmp(f1, f2);
+  return strcasecmp(s1, s2);
 #endif
 }
 




More information about the Tux4kids-commits mailing list