Follow-up Comment #4, bug #14205 (project freeciv):

Ah, well that's simple.  It's a simple bug in update_conn_dialog that doesn't
check the width of the AI name, probably a remnant from before when they were
given artificial player names.  Attached patch will fix this.  It is likely
to occur in many other places as long as we try to snprintf translated
strings into fixed-width buffers; g_strdup_printf is the easy alternative for
use in the gtk2 client.  However it's also the case that the translation
should probably be made shorter (in characters, not bytes) so that it doesn't
make the dialog expand to fit it; the updated TRANS comment reflects this.

-jason


(file #8699)
    _______________________________________________________

Additional Item Attachment:

File name: ai_name.diff                   Size:1 KB


    _______________________________________________________

Reply to this item at:

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

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


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

Reply via email to