Merge pull request #670 from alexanderneu/master

win: Fix total value in SetProgressBar API.
This commit is contained in:
Cheng Zhao 2014-09-29 20:59:24 +08:00
commit 724cae7de1

View file

@ -499,7 +499,7 @@ void NativeWindowViews::SetProgressBar(double progress) {
} else if (progress >= 0) { } else if (progress >= 0) {
taskbar->SetProgressValue(frame, taskbar->SetProgressValue(frame,
static_cast<int>(progress * 100), static_cast<int>(progress * 100),
progress); 100);
} }
#elif defined(USE_X11) #elif defined(USE_X11)
if (unity::IsRunning()) { if (unity::IsRunning()) {