fix error in changelog and add missing size_t cast
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1702 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
ce991bb3ad
commit
0b047c561d
|
@ -224,9 +224,12 @@ CVS code -
|
||||||
get_escape_seq_abcd()
|
get_escape_seq_abcd()
|
||||||
- A resurrected version of the old abcd() function, readded in
|
- A resurrected version of the old abcd() function, readded in
|
||||||
order to simplify get_escape_seq_kbinput(). (DLR)
|
order to simplify get_escape_seq_kbinput(). (DLR)
|
||||||
get_mouse_kbinput()
|
get_mouseinput()
|
||||||
- Interpret shortcut key values slightly more stringently when
|
- Interpret shortcut key values slightly more stringently when
|
||||||
ungetch()ing them. (DLR)
|
ungetch()ing them. (DLR)
|
||||||
|
strlenpt()
|
||||||
|
- Properly cast the second parameter of the strnlenpt() call to
|
||||||
|
size_t. (DLR)
|
||||||
get_page_start()
|
get_page_start()
|
||||||
- For consistency, tweak so that scrolling always occurs when we
|
- For consistency, tweak so that scrolling always occurs when we
|
||||||
try to move onto the "$" at the end of the line, as opposed to
|
try to move onto the "$" at the end of the line, as opposed to
|
||||||
|
|
|
@ -926,7 +926,7 @@ size_t strnlenpt(const char *buf, size_t size)
|
||||||
/* How many columns wide is buf? */
|
/* How many columns wide is buf? */
|
||||||
size_t strlenpt(const char *buf)
|
size_t strlenpt(const char *buf)
|
||||||
{
|
{
|
||||||
return strnlenpt(buf, -1);
|
return strnlenpt(buf, (size_t)-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void blank_bottombars(void)
|
void blank_bottombars(void)
|
||||||
|
|
Loading…
Reference in New Issue