Follow-up Comment #3, bug #15695 (project freeciv):
Thanks, fix works when tested.
It looks like insert_escapes will be much slower than the old version,
looking at the unescaped character case:
fz_fprintf(fp, "%c", *str);
instead of a *dest++ = *str++;
This particular case with script.code does not go through insert_escapes (but
all other values in a savefile do).
I noticed a different change when comparing to 2.2, it is not from this
+code = $
Savefiles now use spaces around = everywhere. I guess it was intentionally
Reply to this item at:
Meddelandet skickades via/av Gna!
Freeciv-dev mailing list