Follow-up Comment #5, patch #1271 (project freeciv):

> I meant that compiler does not catch missing color parameters
> as notify_player() is vararg function. It just uses format
> string as foreground color...

This case is very rare then:  it must be 2 strings after the format and
nothing more.  Anyway, it shouldn't crash the server nor client.  Strange
strings may appear to screen, then the gtk client would complain it cannot
match formated colors. :)

I hope there is no other mistakes...


    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1271>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to