Update Main.cpp

Fix logic error
This commit is contained in:
Isak 2018-02-17 21:38:17 +01:00 committed by GitHub
parent fea8c649ea
commit e1f11d6d3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -39,7 +39,7 @@ main(int argc, char *argv[])
if ( system(command.c_str()) == -1 ) /* If opening file with specified editor failed, break */
break;
}
else
{
CLEAR;
display_file_content(map[option]);
@ -49,7 +49,6 @@ main(int argc, char *argv[])
std::cin.ignore(); //Flush newline char
getline(std::cin, temp);
}
CLEAR;
display_directory_content();
continue;