Re: [Freeciv-Dev] I18n patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
David Pfitzner (dwp@xxxxxxxxxxxxxx) wrote:
> + char *titles[6]= {_("Server Name"), _("Port"), _("Version"), _("Status"),
> _("Players"),
> + _("Comment")};
>
> This may work with gcc, but its not acceptable in general
> (because initialiser must be constant, and result of _() is not).
Well, I guess the "right" way to deal with this would be to initialize
the array explicity in code. It's not as efficient, but correctness is
more important than efficiency.
How about this?
--
Greg Wooledge | Distributed.NET http://www.distributed.net/
wooledge@xxxxxxxxxxx | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |
fc-i18n-initializers
Description: Text document
|
|