diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-11-16 18:23:23 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-11-16 18:23:23 +0100 |
| commit | 6212b2355152eeef10f3352276a41d5fbad77f6f (patch) | |
| tree | 7c5694238403193de5c54b7c36491418fe1373f8 /UCore.pas | |
| parent | 10fe4e8b1aad19fbd0356cd3195c7fbaa812a5c7 (diff) | |
| download | tuxcmd-0.6.59.tar.xz | |
Nested VFS archiving engines supportv0.6.59
Diffstat (limited to 'UCore.pas')
| -rw-r--r-- | UCore.pas | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -65,12 +65,13 @@ type TVFSCallbackThread = class(TThread) TWorkerThread = class(TVFSCallbackThread) private - FCancelled: boolean; GUIMutex: TCriticalSection; protected procedure Execute; override; procedure CommitGUIUpdate; public + FCancelled: boolean; + // Data to update FProgress1Pos, FProgress2Pos, FProgress1Max, FProgress2Max: Int64; FProgress1Text, FProgress2Text, FLabel1Text, FLabel2Text: string; @@ -1176,8 +1177,10 @@ var DefResponse: integer; // Global variables for this function if (not ParamDir) or (ParamDir and b and IsOnSameFS(ExcludeTrailingPathDelimiter(FullPath), s2)) then begin Info := SrcEngine.GetFileInfoSL(FullPath); - if Info = nil then DebugMsg(['$$$ Copy: Something went wrong while building the filelist...']) - else begin + if Info = nil then begin + DebugMsg(['$$$ Copy: Something went wrong while building the filelist...']); + ErrorHappened := True; + end else begin Info^.ADestination := strdup(PChar(s)); Info^.ForceMove := True; AList.Add(Info); |
