Correct code style.

This commit is contained in:
Haojian Wu 2014-09-18 16:17:49 +08:00
parent c5e0b65cc7
commit d8f57a0ecc
2 changed files with 14 additions and 12 deletions

View file

@ -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
} }