cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2988 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
4fde119362
commit
85ea1de1c7
|
@ -247,8 +247,8 @@ CVS code -
|
||||||
- nano.h:
|
- nano.h:
|
||||||
- Since we only use vsnprintf() now, remove the #ifdef block for
|
- Since we only use vsnprintf() now, remove the #ifdef block for
|
||||||
HAVE_SNPRINTF. (DLR)
|
HAVE_SNPRINTF. (DLR)
|
||||||
- Remove TOP from the topmidnone enum, and rename it centernone.
|
- Remove TOP from the topmidnone enum, and rename the latter
|
||||||
(DLR)
|
centernone. (DLR)
|
||||||
- Move stdlib.h, dirent.h, regex.h, and assert.h includes here,
|
- Move stdlib.h, dirent.h, regex.h, and assert.h includes here,
|
||||||
as every source file needs them. (DLR)
|
as every source file needs them. (DLR)
|
||||||
- Rename the updown enum scroll_dir and the centernone enum
|
- Rename the updown enum scroll_dir and the centernone enum
|
||||||
|
|
|
@ -109,7 +109,7 @@ bool is_blank_mbchar(const char *c)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This function is equivalent to iscntrl(), except in that it also
|
/* This function is equivalent to iscntrl(), except in that it also
|
||||||
* handles control characters with their high bits set. */
|
* handles high-bit control characters. */
|
||||||
bool is_cntrl_char(int c)
|
bool is_cntrl_char(int c)
|
||||||
{
|
{
|
||||||
return (-128 <= c && c < -96) || (0 <= c && c < 32) ||
|
return (-128 <= c && c < -96) || (0 <= c && c < 32) ||
|
||||||
|
|
Loading…
Reference in New Issue