Skip to content

Commit

Permalink
[#45] All DOSes: Foundation required for disk/volume verification (Pa…
Browse files Browse the repository at this point in the history
…rt 30: Fixed deadlock)
  • Loading branch information
tomas-nestorovic committed Apr 16, 2020
1 parent a5e6f23 commit 1229b55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Main/src/BackgroundAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@

void CBackgroundActionCancelable::SetProgressTarget(int targetState){
// sets Worker's target progress state, "100% completed"
SendDlgItemMessage( ID_STATE, PBM_SETRANGE32, 0, progressTarget=targetState );
::PostMessage( ::GetDlgItem(m_hWnd,ID_STATE),
PBM_SETRANGE32,
0, progressTarget=targetState
);
}

void CBackgroundActionCancelable::SetProgressTargetInfinity(){
Expand Down

0 comments on commit 1229b55

Please sign in to comment.