@@ -154,11 +154,11 @@ hasGroff := False; lblTroffCommandNotFound.Visible := True; end; // Default file name - currentGroffFilePath := '[unsaved file]'; + currentGroffFileName := '[unsaved file]'; // Embed the license ResStream:= TResourceStream.Create(HInstance, 'LICENSE', RT_RCDATA); try mLicense.Lines.LoadFromStream(ResStream); @@ -296,11 +296,11 @@ procedure TMainForm.btnBuildClick(Sender: TObject); var buildSuccess: Boolean; buildOpts: String; - logFileName: String; + logFileName: String = ''; outputFileName: String; begin // Reset status display: MainStatusBar.Panels[1].Text := '';