<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39442 >
Committed to S2_1 as r13087 and trunk as r13088 (PR#39442) Lua script newlines not restored correctly from save Make escaped an attribute of entry so that it can be carried over from load to save Changed moutstr so that it takes a full_escapes argument just like minstr. moutstr to returns a string with delimiters to simplify the code throughout. Add secfile_insert_str_noescape so that noescaped strings (script.code and script.vars) can be inserted. Small refactoring: added entry_init(struct *entry) Now script.code and script.vars use secfile_insert_str_noescape _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev