Browse Source

Publish correct draft file

tags/v1.0.0
Matt Baer 6 years ago
parent
commit
caeebc37f3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/window.vala

+ 1
- 1
src/window.vala 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;


Loading…
Cancel
Save