[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] quick fix for do_credits()
From: |
David Lawrence Ramsey |
Subject: |
[Nano-devel] quick fix for do_credits() |
Date: |
Sat, 20 Jul 2002 14:07:29 -0700 (PDT) |
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).
I've tested it with both English and German (needed because
it can accept a "y" for yes, and hence properly spell out
"xyzzy" to trigger the credits), and it seems to be
working so far.
_____________________________________________________________
Sluggy.Net: The Sluggy Freelance Community!
_____________________________________________________________
Promote your group and strengthen ties to your members with address@hidden by
Everyone.net http://www.everyone.net/?btn=tag
nanocredits.patch
Description: Binary data
- [Nano-devel] quick fix for do_credits(),
David Lawrence Ramsey <=