From 928e2dc79b46a455ef0c0096ddf40682e07b4a27 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 12 Oct 2008 12:16:57 +0200 Subject: Implement VFS question and password callbacks --- USearch.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'USearch.pas') diff --git a/USearch.pas b/USearch.pas index d09c330..74c45d8 100644 --- a/USearch.pas +++ b/USearch.pas @@ -787,7 +787,7 @@ begin Processing := False; Stop := False; if FileList.Items.Count > 0 then FileList.SetFocus; - if Engine.ChangeDir(OldDir, False) <> 0 then DebugMsg(['DoSearch: cannot change back to saved directory']); + if Engine.ChangeDir(OldDir) <> 0 then DebugMsg(['DoSearch: cannot change back to saved directory']); // Enable the UI Table1.Enabled := True; @@ -873,7 +873,7 @@ begin CurrentDir := StartDir; GUIMutex.Release; - if FEngine.ChangeDir(StartDir, False) <> 0 then Exit; + if FEngine.ChangeDir(StartDir) <> 0 then Exit; LocalList := TList.Create; if FEngine.GetListing(LocalList, True, StartDir) = 0 then begin -- cgit v1.2.3