[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] Bugs in global.c:toggle_init and nano.c:do_enter
From: |
David Benbennick |
Subject: |
[Nano-devel] Bugs in global.c:toggle_init and nano.c:do_enter |
Date: |
Sat, 13 Apr 2002 12:05:42 -0400 |
With nano -F, try opening multiple buffers then ^Getting help. The
toggles will appear many times.
Also, with nano -i, try pressing <Enter> from the beginning of the
following line. The cursor moves forward.
this line starts with <Tab>.
The attached patch fixes these bugs. It also changes the code so that
NANO_SMALL becomes independent of the DISABLE switches: BROWSER,
TABCOMP, JUSTIFY, SPELLER, HELP, MOUSE, and OPERATINGDIR.
I also made some cosmetic code changes to global.c and nano.h. With the
patch, NANO_SMALL is now about 200 bytes smaller, and the
bells-n-whistles version is about 100 bytes smaller.
By the way: if !NANO_SMALL, then _( is defined as gettext(. This
definition should probably depend on the ENABLE_NLS switch instead. I
didn't include that in the patch since I don't know much about gettext.
Any comments?
David
13-apr.11:45.patch.gz
Description: Binary data
pgpXiOyMcNIbp.pgp
Description: PGP signature
- [Nano-devel] Bugs in global.c:toggle_init and nano.c:do_enter,
David Benbennick <=