[gnome-games] libgames-support: Support PySolFC 2.0 cardsets
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games] libgames-support: Support PySolFC 2.0 cardsets
- Date: Sun, 24 Jan 2010 18:04:33 +0000 (UTC)
commit eb05ab37cf7e0b58367475c0b895dd4ce6a5801a
Author: Christian Persch <chpe gnome org>
Date: Sun Jan 24 19:02:44 2010 +0100
libgames-support: Support PySolFC 2.0 cardsets
libgames-support/games-card-theme-pysol.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgames-support/games-card-theme-pysol.c b/libgames-support/games-card-theme-pysol.c
index d08460d..b59a21a 100644
--- a/libgames-support/games-card-theme-pysol.c
+++ b/libgames-support/games-card-theme-pysol.c
@@ -136,7 +136,8 @@ pysol_config_txt_parse_line_0 (PySolConfigTxtData *data,
n_fields = g_strv_length (fields);
if (n_fields < 2)
goto out;
- if (strcmp (g_strstrip (fields[0]), "PySol solitaire cardset") != 0)
+ if (strcmp (g_strstrip (fields[0]), "PySol solitaire cardset") != 0 &&
+ strcmp (g_strstrip (fields[0]), "PySolFC solitaire cardset") != 0)
goto out;
if (!parse_int (g_strstrip (fields[1]), &data->version))
goto out;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]