Browse Source

Fix copy-paste error

Margers 8 months ago
parent
commit
7ac4e38b71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ide/fpdesk.pas

+ 1 - 1
packages/ide/fpdesk.pas

@@ -1038,7 +1038,7 @@ begin
     if ((DesktopFileFlags and dfCodeTemplates)<>0) then
       OK:=ReadCodeTemplates(F) and OK;
     if ((DesktopFileFlags and dfReturnToLastDir)<>0) then
-        OK:=WriteReturnToLastDir(F) and OK;
+      OK:=ReadReturnToLastDir(F) and OK;
 {$ifdef Unix}
     OK:=ReadKeys(F) and OK;
 {$endif Unix}