Skip to content

Commit 8d3b546

Browse files
authored
Fix wrong success execution (#186)
* Fix wrong success execution Signed-off-by: Aleksandr Motsjonov <[email protected]> * better comment Signed-off-by: Aleksandr Motsjonov <[email protected]> --------- Signed-off-by: Aleksandr Motsjonov <[email protected]>
1 parent 5bf5db5 commit 8d3b546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rawtoaces_util/image_converter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ bool check_param(
643643
}
644644
else
645645
{
646-
on_success();
646+
// Incorrect mode and no parameter. We don't want any mode-specific parameters parsed when we are in wrong mode.
647647
return true;
648648
}
649649
}

0 commit comments

Comments
 (0)