--- Begin Message ---
Subject: |
Re: [Nano-devel] quick fix for do_credits() |
Date: |
Sat, 20 Jul 2002 22:53:12 -0700 |
User-agent: |
Mutt/1.2.5.1i |
On Sat, Jul 20, 2002 at 02:07:29PM -0700, David Lawrence Ramsey wrote:
> When I was trying to make sure that nano would compile when
> gcc -pedantic was used, I had to modify do_credits(). I
> thought I'd fixed it properly, but I apparently didn't; with
> --enable-extra, I've been getting errors about non-constant
> initializers on the lines where strings are assigned
> gettext()ized values. I believe that the following patch
> fixes it properly, while still not hardcoding array values
> (I had to use a few #defined values for the lengths of
> different parts of the credits, but that is as far as I
> went, and they should be easy enough to deal with).
David,
What do you think of the following?
Chris A
--
Chris Allegretta http://www.asty.org
"Share and Enjoy" - Douglas Adams, 1952 - 2001
credits.diff
Description: Text document
--- End Message ---