IDE: fixed using PathDelim of lpi and lps file

git-svn-id: trunk@19495 -
This commit is contained in:
mattias 2009-04-18 21:40:04 +00:00
parent f5d7407d4a
commit 04e1d27de4

View File

@ -2437,6 +2437,7 @@ begin
Path:='ProjectOptions/';
StorePathDelim:=CheckPathDelim(
XMLConfig.GetValue(Path+'PathDelim/Value', PathDelim),fPathDelimChanged);
fCurStorePathDelim:=StorePathDelim;
{$IFDEF IDE_MEM_CHECK}CheckHeapWrtMemCnt('TProject.ReadProject C reading values');{$ENDIF}
FileVersion:= XMLConfig.GetValue(Path+'Version/Value',0);
@ -2524,6 +2525,7 @@ begin
Path:='ProjectSession/';
SessionStorePathDelim:=CheckPathDelim(
XMLConfig.GetValue(Path+'PathDelim/Value', PathDelim),fPathDelimChanged);
fCurStorePathDelim:=SessionStorePathDelim;
FileVersion:=XMLConfig.GetValue(Path+'Version/Value',0);
@ -2546,6 +2548,7 @@ begin
xmlconfig.Free;
except
end;
fCurStorePathDelim:=StorePathDelim;
xmlconfig:=nil;
end else begin
// there is no .lps file -> create some defaults