Skip to content

Commit 790939b

Browse files
Update FB2SCI.cpp
Fixed an error check for input_filename2 actually checking input_filename1 instead.
1 parent 7aac195 commit 790939b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FB2SCI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ int main(int argc, char* argv[]) {
7878
ifstream input_file2(input_filename2, ios::binary);
7979

8080
// Check if bankfile2 exists
81-
if (!check_file_exists(input_filename1)) {
81+
if (!check_file_exists(input_filename2)) {
8282
cout << "Error: file " << input_filename2 << " not found" << endl;
8383
exit(EXIT_FAILURE);
8484
}

0 commit comments

Comments
 (0)