[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] merged patch
From: |
David Lawrence Ramsey |
Subject: |
Re: [Nano-devel] merged patch |
Date: |
Thu, 21 Feb 2002 22:59:24 -0800 (PST) |
--- Steven Kneizys <address@hidden> wrote:
<snip>
>I added a status bar change notification when changing buffers, it
>looked odd to me when reading in a file, then switching buffers, that
>the "read lines" message was still there. This is is the routines
>that
>switch to prev and next open file:
>
> load_open_file();
>
> statusbar(_("Switched to %s"),open_files->data);
Nice, but it needs one last tweak; if you have a "New Buffer"
open, the name will be "", so the prompt will be "Switched
to ". Maybe this would do it:
statusbar(_("Switched to %s"), ((open_files->data[0] == '\0') ?
open_files->data : "New Buffer"));
One more thing: is there any interest in changing the char
*name argument of get_next_filename() to a const char*, as I
brought up before, or am I just being too picky?
Also, sorry about the problem with num_of_digits()' return
value being assigned to a variable; I didn't know it'd be a
problem for some compilers. (If only there was an
INT_MAX_DIGITS #defined in limits.h as the number of digits
in INT_MAX, it would be so much easier for those who need
to convert ints to char* values and need to know how much
space to allocate for it.)
_____________________________________________________________
Sluggy.Net: The Sluggy Freelance Community!
- Re: [Nano-devel] merged patch, (continued)
- Re: [Nano-devel] merged patch, Chris Allegretta, 2002/02/21
- Re: [Nano-devel] merged patch, Chris Allegretta, 2002/02/21
- Re: [Nano-devel] merged patch, Dwayne Rightler, 2002/02/22
- Re: [Nano-devel] merged patch, Steven Kneizys, 2002/02/22
- [Nano-devel] Now that we really don't need it . . ., Steven Kneizys, 2002/02/23
- [Nano-devel] small fix: --enable-tiny;question about: check_statusblank();old stuff, Steven Kneizys, 2002/02/23
- [Nano-devel] 1.1.6 mem leaks revisited, Steven Kneizys, 2002/02/24
- Re: [Nano-devel] 1.1.6 mem leaks revisited, Chris Allegretta, 2002/02/26
- Re: [Nano-devel] merged patch, Steven Kneizys, 2002/02/22
Re: [Nano-devel] merged patch, Gareth Pearce, 2002/02/21
Re: [Nano-devel] merged patch,
David Lawrence Ramsey <=