Fix cpplint warning
This commit is contained in:
parent
6e75af5c0f
commit
454085eb95
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ bool TaskbarHost::SetProgressBar(HWND window, double value) {
|
||||||
else if (value < 0)
|
else if (value < 0)
|
||||||
r = taskbar_->SetProgressState(window, TBPF_NOPROGRESS);
|
r = taskbar_->SetProgressState(window, TBPF_NOPROGRESS);
|
||||||
else
|
else
|
||||||
r= taskbar_->SetProgressValue(window, static_cast<int>(value * 100), 100);
|
r = taskbar_->SetProgressValue(window, static_cast<int>(value * 100), 100);
|
||||||
return SUCCEEDED(r);
|
return SUCCEEDED(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue