Avoid a cppcheck false positiv in interface_file_select_ncurses()
This commit is contained in:
parent
e5a5e71d7c
commit
c095665d1c
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ void interface_file_select_ncurses(file_enable_t *files_enable)
|
|||
wmove(stdscr,5,4);
|
||||
if(offset>0)
|
||||
wprintw(stdscr,"Previous");
|
||||
for(i=offset;files_enable[i].file_hint!=NULL && i<offset+INTER_FSELECT;i++)
|
||||
for(i=offset; i<offset+INTER_FSELECT && files_enable[i].file_hint!=NULL; i++)
|
||||
{
|
||||
wmove(stdscr,6+i-offset,0);
|
||||
wclrtoeol(stdscr); /* before addstr for BSD compatibility */
|
||||
|
|
Loading…
Reference in a new issue