From 3d5f9de45b1abbc03ab2282b8c353babdae052d9 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 3 Apr 2016 15:32:41 +1000 Subject: [PATCH] Fix file area changing --- files.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files.c b/files.c index 5830ae1..a1e128a 100644 --- a/files.c +++ b/files.c @@ -707,7 +707,7 @@ int file_menu(int socket, struct user_record *user) { if (i + 1 == conf.file_directories[user->cur_file_dir]->file_sub_count) { i = -1; } - user->cur_mail_area = i + 1; + user->cur_file_sub = i + 1; } break; case '[': @@ -716,7 +716,7 @@ int file_menu(int socket, struct user_record *user) { if (i - 1 == -1) { i = conf.file_directories[user->cur_file_dir]->file_sub_count; } - user->cur_mail_area = i - 1; + user->cur_file_sub = i - 1; } break; case 'q':