[Freeciv-Dev] Re: (PR#3612) Legend bug
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Mar 05, 2003 at 04:59:34AM -0800, freeciv-dev-bounce@xxxxxxxxxxx wrote:
> [jdorje - Wed Mar 5 01:22:01 2003]:
> > [ChrisK@xxxxxxxx - Tue Mar 4 22:13:38 2003]:
> >
> > > The legend translations existing in *.po are not shown in the nation
> > > dialog.
> >
> > Oops.
> >
> > jason
>
> The following patch seems to do the trick.
+ pl->legend = _(mystrdup(p->legend));
Don't you mean
pl->legend = mystrdup(_(p->legend));
?
Your approach will throw away a pointer...
Ben
--
ben@xxxxxxxxxxxxxxxxxxxxxx http://bellatrix.pcl.ox.ac.uk/~ben/
"Mediocrity knows nothing higher than itself but talent instantly
recognizes genius."
- Sir Arthur Conan Doyle
|
|