gnome-games r8446 - trunk/libgames-support



Author: chpe
Date: Tue Jan  6 18:18:55 2009
New Revision: 8446
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8446&view=rev

Log:
PySol card theme dir names always start with "cardset-".

Modified:
   trunk/libgames-support/games-card-theme-pysol.c

Modified: trunk/libgames-support/games-card-theme-pysol.c
==============================================================================
--- trunk/libgames-support/games-card-theme-pysol.c	(original)
+++ trunk/libgames-support/games-card-theme-pysol.c	Tue Jan  6 18:18:55 2009
@@ -346,6 +346,9 @@
   PySolConfigTxtData *pysol_data;
   char *display_name;
 
+  if (!g_str_has_prefix (filename, "cardset-"))
+    return NULL;
+
   pysol_data = pysol_config_txt_parse (path, filename);
   if (!pysol_data)
     return NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]