Publish correct draft file

This commit is contained in:
Matt Baer 2018-04-19 15:43:07 -04:00
parent f080df15e7
commit caeebc37f3

View File

@ -199,7 +199,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
text_changed = false;
}
var cmd = "sh -c 'cat ~/.writeas-draft.txt | writeas --font %s'";
var cmd = "sh -c 'cat ~/" + data_dir + "/draft.txt | writeas --font %s'";
cmd = cmd.printf(fontstyle);
string stdout, stderr;
int status;