DEADSOFTWARE

Two small additional fixes for Lazarus
[d2df-editor.git] / src / editor / Editor.lpr
index f1a9c3055c2b81e17809a831312df8aba3ba392e..8bd60c2e3f98df376d9203d5c42743332cebdd36 100644 (file)
@@ -49,9 +49,12 @@ uses
   g_language in 'g_language.pas',
   f_selectlang in 'f_selectlang.pas' {SelectLanguageForm};
 
-{$R *.res}
+{$IFDEF WINDOWS}
+  {$R *.res}
+{$ENDIF}
 
 begin
+  Application.ExceptionDialog := aedOkMessageBox;
   Application.Initialize();
 
   Application.CreateForm(TMainForm, MainForm);