[Freeciv-Dev] Re: suggestion: myth about freeciv
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, Feb 07, 2003 at 06:05:03PM +0100, Andreas Røsdal wrote:
> Raimar Falke wrote:
>
> >On Thu, Feb 06, 2003 at 11:49:04PM +0100, Andreas Røsdal wrote:
> >
> >
> >>Hello!
> >>I've been experimenting with scrolling "The Freeciv Myth"
> >>on the introscreen.
> >>
> >It doesn't compile. At least if some stricter options (like "-Wall
> >-Wpointer-arith -Wcast-align -Wmissing-prototypes
> >-Wmissing-declarations -Werror) are used.
> >
> >I fixed this. Now I got an access for index -1 on the myth array. The
> >assert I inserted triggered.
> >
> The while-loop in intro_scroll() was off by one.
> It's fixed it in the attached file. Does it compile properly for you now?
Now it doesn't apply clean:
$ patch -p0 <myth3.diff
patching file client/tilespec.c
patching file client/tilespec.h
patching file client/gui-gtk/graphics.c
patch: **** malformed patch at line 172: Index: client/gui-gtk/graphics.h
> >Also note that the use of _() in
> >freeciv_myth isn't portable: only constants are allowed in
> >initializers.
> >
> How can this best be solved?
Use N_() in the array and change the return line to
return _(myth[i]);
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
A life? Cool! Where can I download one?
- [Freeciv-Dev] suggestion: myth about freeciv, Andreas Røsdal, 2003/02/06
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Raimar Falke, 2003/02/07
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Andreas Røsdal, 2003/02/07
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Andreas Røsdal, 2003/02/07
- [Freeciv-Dev] Re: suggestion: myth about freeciv,
Raimar Falke <=
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Andreas Røsdal, 2003/02/07
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Raimar Falke, 2003/02/07
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Andreas Røsdal, 2003/02/08
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Christian Knoke, 2003/02/08
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Jason Dorje Short, 2003/02/08
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Andreas Røsdal, 2003/02/08
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Greg Wooledge, 2003/02/08
- Message not available
- [Freeciv-Dev] (PR#3357) Re: Re: suggestion: myth about freeciv, andrearo@xxxxxxxxxxxx via RT, 2003/02/09
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Reinier Post, 2003/02/09
- [Freeciv-Dev] Re: suggestion: myth about freeciv, Raimar Falke, 2003/02/10
|
|