aboutsummaryrefslogtreecommitdiff
path: root/cad/zcad/files/patch-cad__source_zcad_gui_uzcmainwindow.pas
diff options
context:
space:
mode:
Diffstat (limited to 'cad/zcad/files/patch-cad__source_zcad_gui_uzcmainwindow.pas')
-rw-r--r--cad/zcad/files/patch-cad__source_zcad_gui_uzcmainwindow.pas11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/zcad/files/patch-cad__source_zcad_gui_uzcmainwindow.pas b/cad/zcad/files/patch-cad__source_zcad_gui_uzcmainwindow.pas
new file mode 100644
index 000000000000..dcea423394cd
--- /dev/null
+++ b/cad/zcad/files/patch-cad__source_zcad_gui_uzcmainwindow.pas
@@ -0,0 +1,11 @@
+--- cad_source/zcad/gui/uzcmainwindow.pas.orig 2017-05-01 09:49:49 UTC
++++ cad_source/zcad/gui/uzcmainwindow.pas
+@@ -693,7 +693,7 @@ begin
+
+ mem.init({$IFDEF DEBUGBUILD}'{71D987B4-8C57-4C62-8C12-CFC24A0A9C9A}',{$ENDIF}1024);
+ SavedUnit^.SavePasToMem(mem);
+- mem.SaveToFile(expandpath(ProgramPath+'rtl'+PathDelim+'savedvar.pas'));
++ mem.SaveToFile(expandpath(UserPath+'rtl'+PathDelim+'savedvar.pas'));
+ mem.done;
+ end;
+