in browser_refresh(), change variable i from an int to a size_t in order
to match selected, which it's compared against git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3490 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
f2fe1fd263
commit
0df4de37c3
|
@ -78,6 +78,8 @@ CVS code -
|
||||||
- Remove redundant key checks. (DLR)
|
- Remove redundant key checks. (DLR)
|
||||||
browser_refresh()
|
browser_refresh()
|
||||||
- Rename variable editline to line, for consistency. (DLR)
|
- Rename variable editline to line, for consistency. (DLR)
|
||||||
|
- Change variable i from an int to a size_t in order to match
|
||||||
|
selected, which it's compared against. (DLR)
|
||||||
- files.c:
|
- files.c:
|
||||||
open_file()
|
open_file()
|
||||||
- Remove redundant wording in the error message when we try to
|
- Remove redundant wording in the error message when we try to
|
||||||
|
|
|
@ -543,7 +543,7 @@ void parse_browser_input(int *kbinput, bool *meta_key, bool *func_key)
|
||||||
void browser_refresh(void)
|
void browser_refresh(void)
|
||||||
{
|
{
|
||||||
struct stat st;
|
struct stat st;
|
||||||
int i;
|
size_t i;
|
||||||
int col = 0, line = 0, filecols = 0;
|
int col = 0, line = 0, filecols = 0;
|
||||||
size_t foo_len = mb_cur_max() * 7;
|
size_t foo_len = mb_cur_max() * 7;
|
||||||
char *foo = charalloc(foo_len + 1);
|
char *foo = charalloc(foo_len + 1);
|
||||||
|
|
Loading…
Reference in New Issue