Skip to content

Commit

Permalink
fixed writting metadata behavior at exit
Browse files Browse the repository at this point in the history
  • Loading branch information
nadvornik committed Apr 23, 2009
1 parent 92d41d6 commit 6d5b363
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utilops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1626,8 +1626,9 @@ void file_util_dialog_run(UtilityData *ud)

file_util_finalize_all(ud);

/* both DISCARD and DONE finishes the operation for good */
if (ud->done_func)
ud->done_func((ud->phase == UTILITY_PHASE_DONE), ud->dest_path, ud->done_data);
ud->done_func((ud->phase != UTILITY_PHASE_CANCEL), ud->dest_path, ud->done_data);

if (ud->with_sidecars)
file_data_sc_free_ci_list(ud->flist);
Expand Down

0 comments on commit 6d5b363

Please sign in to comment.