tweaks: reshuffle two lines and a function name, for a consistent order
Also rewrap a a line.
Этот коммит содержится в:
родитель
746ef89745
Коммит
2289bb7c19
@ -527,10 +527,10 @@ char *browse(char *path)
|
||||
window_init();
|
||||
kbinput = KEY_WINCH;
|
||||
#endif
|
||||
} else if (func == do_search_forward) {
|
||||
search_filename(FORWARD);
|
||||
} else if (func == do_search_backward) {
|
||||
search_filename(BACKWARD);
|
||||
} else if (func == do_search_forward) {
|
||||
search_filename(FORWARD);
|
||||
} else if (func == do_findprevious) {
|
||||
research_filename(BACKWARD);
|
||||
} else if (func == do_findnext) {
|
||||
|
@ -475,13 +475,12 @@ void show_help(void)
|
||||
} else if (func == do_up || func == do_scroll_up) {
|
||||
do_scroll_up();
|
||||
} else if (func == do_down || func == do_scroll_down) {
|
||||
if (openfile->edittop->lineno + editwinrows - 1 <
|
||||
openfile->filebot->lineno)
|
||||
if (openfile->edittop->lineno + editwinrows - 1 < openfile->filebot->lineno)
|
||||
do_scroll_down();
|
||||
} else if (func == do_page_up || func == do_page_down ||
|
||||
func == to_first_line || func == to_last_line) {
|
||||
func();
|
||||
} else if (func == do_search_forward || func == do_search_backward ||
|
||||
} else if (func == do_search_backward || func == do_search_forward ||
|
||||
func == do_findprevious || func == do_findnext) {
|
||||
func();
|
||||
bottombars(MHELP);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user