- Turn off debugging
- Fix the checkpoint print so it doesn't happen anytime a usetup progress bar reaches 50%
svn path=/trunk/; revision=55979
}
/* FIXME: Do it! */
- DPRINT1("'%S' ==> '%S'\n",
+ DPRINT("'%S' ==> '%S'\n",
FileSrcPath,
FileDstPath);
case SPFILENOTIFY_ENDCOPY:
CopyContext->CompletedOperations++;
+
+ /* SYSREG checkpoint */
+ if (CopyContext->TotalOperations >> 1 == CopyContext->CompletedOperations)
+ DPRINT1("CHECKPOINT:HALF_COPIED\n");
+
ProgressNextStep(CopyContext->ProgressBar);
SetupUpdateMemoryInfo(CopyContext, FALSE);
break;
{
Bar->Percent = NewPercent;
- /* DO NOT REMOVE THOSE LINES
- * This might be needed by sysreg
- */
- if (NewPercent == 50)
- {
- DPRINT1("CHECKPOINT:HALF_COPIED\n");
- }
-
sprintf(TextBuffer, "%-3lu%%", Bar->Percent);
coPos.X = Bar->Left + (Bar->Width - 2) / 2;