save: fix dialog_run format when used with capture_last_error #223

This commit is contained in:
Kaian 2017-12-12 14:59:49 +01:00
parent fd2b89526e
commit c89fe85195
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ save_to_file(ui_t *ui)
// Open dump file
pd = dump_open(fullfile);
if (access(fullfile, W_OK) != 0) {
dialog_run(capture_last_error());
dialog_run("%s", capture_last_error());
return 1;
}
} else {