From: Alexander Neu Date: Mon, 29 Sep 2014 10:50:51 +0000 (+0200) Subject: win: Fix total value in SetProgressBar API. X-Git-Tag: v0.17.0~10^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6c9769999b2a0f5760a8b832a90277060300f37b;p=electron.git win: Fix total value in SetProgressBar API. --- diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 08c23cc3..60eb70a7 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -499,7 +499,7 @@ void NativeWindowViews::SetProgressBar(double progress) { } else if (progress >= 0) { taskbar->SetProgressValue(frame, static_cast(progress * 100), - progress); + 100); } #elif defined(USE_X11) if (unity::IsRunning()) {