mirror of
https://github.com/reactos/reactos.git
synced 2024-07-04 03:34:16 +00:00
[USETUP]
- Turn off debugging - Fix the checkpoint print so it doesn't happen anytime a usetup progress bar reaches 50% svn path=/trunk/; revision=55979
This commit is contained in:
parent
6b93fbc2de
commit
2b71ec3e05
|
@ -382,7 +382,7 @@ SetupCommitFileQueueW(HWND Owner,
|
|||
}
|
||||
|
||||
/* FIXME: Do it! */
|
||||
DPRINT1("'%S' ==> '%S'\n",
|
||||
DPRINT("'%S' ==> '%S'\n",
|
||||
FileSrcPath,
|
||||
FileDstPath);
|
||||
|
||||
|
|
|
@ -3098,6 +3098,11 @@ FileCopyCallback(PVOID Context,
|
|||
|
||||
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;
|
||||
|
|
|
@ -317,14 +317,6 @@ ProgressSetStep (PPROGRESSBAR Bar,
|
|||
{
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue