Get upload filename was changing to the directory of the file
This commit is contained in:
parent
e0635cfde7
commit
03668f9f84
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue