Prechádzať zdrojové kódy

Fix copy-paste error

Margers 10 mesiacov pred
rodič
commit
7ac4e38b71
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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}