Skip to content

Commit 061155c

Browse files
committed
fix(application): bring back output option
Issue introcuded in commit 72a511c Fixes #202
1 parent e3b8bf6 commit 061155c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/application.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ static void save_state_to_file_or_folder(struct swappy_state *state,
305305
}
306306

307307
static void maybe_save_output_file(struct swappy_state *state) {
308-
if (state->config->auto_save) {
308+
if (state->config->auto_save || state->output_file) {
309309
save_state_to_file_or_folder(state, state->output_file);
310310
}
311311
}

0 commit comments

Comments
 (0)