<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39396 >

This code has *never* worked: PR#14243 committed in revision 11100 (Sun,
09 Oct 2005) 20 months ago.

It is called in only one place, client/gui-gtk-2.0/pages.c
update_scenario_page, that crashes!  (PR#39364)

Its parameter, const char *part, was unused.  It must be passed to the
next routine.


Index: utility/registry.c
===================================================================
--- utility/registry.c  (revision 12991)
+++ utility/registry.c  (working copy)
@@ -653,7 +653,7 @@
   inf = inf_from_file(real_filename, datafilename);
 
   return section_file_read_dup(my_section_file, real_filename,
-                              inf, TRUE, NULL);
+                              inf, TRUE, part);
 }
 
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to