From 5f3743f8fdc45b8feb1c561edacf9e88a68c6f21 Mon Sep 17 00:00:00 2001 From: pierre Date: Thu, 23 Mar 2000 22:22:25 +0000 Subject: [PATCH] * file loading problem fixed --- ide/text/fpviews.pas | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ide/text/fpviews.pas b/ide/text/fpviews.pas index ffbe1dd5df..c33e6b7aa9 100644 --- a/ide/text/fpviews.pas +++ b/ide/text/fpviews.pas @@ -2800,8 +2800,11 @@ begin else begin FSplit(FileName,D,N,E); + if D<>'' then + W:=TryToOpen(D); DrStr:=GetSourceDirectories; - While pos(';',DrStr)>0 do + if not assigned(W) then + While pos(';',DrStr)>0 do Begin W:=TryToOpen(Copy(DrStr,1,pos(';',DrStr)-1)); if assigned(W) then @@ -3305,7 +3308,10 @@ end; END. { $Log$ - Revision 1.65 2000-03-21 23:25:16 pierre + Revision 1.66 2000-03-23 22:22:25 pierre + * file loading problem fixed + + Revision 1.65 2000/03/21 23:25:16 pierre adapted to wcedit addition Revision 1.64 2000/03/14 13:59:41 pierre