Author: cazfi
Date: Thu Feb 25 10:57:55 2016
New Revision: 32079

URL: http://svn.gna.org/viewcvs/freeciv?rev=32079&view=rev
Log:
Save ruleset summary from ruledit.

See bug #24417

Modified:
    trunk/tools/ruledit/rulesave.c

Modified: trunk/tools/ruledit/rulesave.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/rulesave.c?rev=32079&r1=32078&r2=32079&view=diff
==============================================================================
--- trunk/tools/ruledit/rulesave.c      (original)
+++ trunk/tools/ruledit/rulesave.c      Thu Feb 25 10:57:55 2016
@@ -757,6 +757,14 @@
 
   secfile_insert_str(sfile, game.control.name, "about.name");
   secfile_insert_str(sfile, game.control.version, "about.version");
+
+  if (game.ruleset_summary != NULL) {
+    struct entry *mod_entry;
+
+    mod_entry = secfile_insert_str(sfile, game.ruleset_summary,
+                                   "about.summary");
+    entry_str_set_gt_marking(mod_entry, TRUE);
+  }
 
   if (game.ruleset_description != NULL) {
     if (game.server.ruledit.description_file == NULL) {


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to