Correct code style.
This commit is contained in:
parent
c5e0b65cc7
commit
d8f57a0ecc
2 changed files with 14 additions and 12 deletions
|
@ -497,7 +497,9 @@ void NativeWindowViews::SetProgressBar(double progress) {
|
||||||
} else if (progress < 0) {
|
} else if (progress < 0) {
|
||||||
taskbar->SetProgressState(frame, TBPF_NOPROGRESS);
|
taskbar->SetProgressState(frame, TBPF_NOPROGRESS);
|
||||||
} else if (progress >= 0) {
|
} else if (progress >= 0) {
|
||||||
taskbar->SetProgressValue(frame, static_cast<int>(progress*100), progress);
|
taskbar->SetProgressValue(frame,
|
||||||
|
static_cast<int>(progress * 100),
|
||||||
|
progress);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue