Get upload filename was changing to the directory of the file

This commit is contained in:
mysticbbs 2013-02-22 20:45:12 -05:00
parent e0635cfde7
commit 03668f9f84
1 changed files with 5 additions and 0 deletions

View File

@ -408,6 +408,7 @@ Var
Str : String;
Path : String;
Mask : String;
OrigDIR : String;
Procedure UpdateInfo;
Begin
@ -498,6 +499,8 @@ Begin
DirList := TMenuList.Create(TOutput(Screen));
FileList := TMenuList.Create(TOutput(Screen));
GetDIR (0, OrigDIR);
FileList.NoWindow := True;
FileList.LoChars := #9#13#27;
FileList.HiChars := #77;
@ -630,6 +633,8 @@ Begin
End;
Until Done;
ChDIR(OrigDIR);
FileList.Free;
DirList.Free;
Box.Close;