Explorar o código

Incorrect assertion

Source commit: 482e7ee56211ae2bc94fc521a00986faba11dabb
Martin Prikryl %!s(int64=7) %!d(string=hai) anos
pai
achega
eb1c89d9aa
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      source/forms/CustomScpExplorer.cpp

+ 2 - 1
source/forms/CustomScpExplorer.cpp

@@ -830,7 +830,8 @@ void __fastcall TCustomScpExplorerForm::SetTaskbarListProgressValue(TFileOperati
   if (ProgressData->Operation != foCalculateSize)
   {
     int OverallProgress;
-    if (DebugAlwaysTrue(FProgressForm != NULL) && (FProgressForm->SynchronizeProgress != NULL))
+    // FProgressForm is null when this is called from SetQueueProgress
+    if ((FProgressForm != NULL) && (FProgressForm->SynchronizeProgress != NULL))
     {
       OverallProgress = FProgressForm->SynchronizeProgress->Progress(ProgressData);
     }