Skip to content

Commit

Permalink
Update FB2SCI.cpp
Browse files Browse the repository at this point in the history
Fixed an error check for input_filename2 actually checking input_filename1 instead.
  • Loading branch information
MusicallyInspired authored Mar 3, 2023
1 parent 7aac195 commit 790939b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FB2SCI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ int main(int argc, char* argv[]) {
ifstream input_file2(input_filename2, ios::binary);

// Check if bankfile2 exists
if (!check_file_exists(input_filename1)) {
if (!check_file_exists(input_filename2)) {
cout << "Error: file " << input_filename2 << " not found" << endl;
exit(EXIT_FAILURE);
}
Expand Down

0 comments on commit 790939b

Please sign in to comment.