Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] bug in tilespec code (PR#1932)

[Freeciv-Dev] bug in tilespec code (PR#1932)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] bug in tilespec code (PR#1932)
From: jdorje@xxxxxxxxxxxxxxxxxxxxx
Date: Fri, 16 Aug 2002 12:00:42 -0700 (PDT)

This bug was introduced a little while ago with the client string options patch.

Without the fix, if you compile for XAW and run "./civ -t lexxy" (or another iso tileset) the client will segfault.

I submitted this patch before, but I think it may have gotten lost during the list's technical problems. I can't find the original bug report now...

Index: client/tilespec.c
RCS file: /home/freeciv/CVS/freeciv/client/tilespec.c,v
retrieving revision 1.81
diff -u -r1.81 tilespec.c
--- client/tilespec.c   2002/07/27 14:14:23     1.81
+++ client/tilespec.c   2002/08/01 06:56:58
@@ -237,7 +237,7 @@
     assert(tileset_name != NULL);
-    tilespec_read_toplevel(NULL);
+    tilespec_read_toplevel("");
   if (!is_isometric && !overhead_view_supported()) {

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] bug in tilespec code (PR#1932), jdorje <=