Follow-up Comment #2, bug #19201 (project wesnoth):

I'm attaching a possible workaround which detects if reinterpretation as a
number changes the string value and then stores it as a string instead.
It's still vulnerable to "true" and "false" being folded onto "yes" and "no"
though.

(file #15066)
    _______________________________________________________

Additional Item Attachment:

File name: string-number-workaround.diff  Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19201>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to