win: Fix total value in SetProgressBar API.

This commit is contained in:
Alexander Neu 2014-09-29 12:50:51 +02:00
parent 50ea0f0b45
commit 6c9769999b

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()) {