summaryrefslogtreecommitdiffstats
path: root/rfb_win32
diff options
context:
space:
mode:
Diffstat (limited to 'rfb_win32')
-rw-r--r--rfb_win32/ProgressControl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/rfb_win32/ProgressControl.cxx b/rfb_win32/ProgressControl.cxx
index c22c4f36..dd6a79f9 100644
--- a/rfb_win32/ProgressControl.cxx
+++ b/rfb_win32/ProgressControl.cxx
@@ -19,7 +19,7 @@
*
*/
-// -=- ProgressControl.h
+// -=- ProgressControl.cxx
#include <rfb_win32/ProgressControl.h>
@@ -71,8 +71,8 @@ ProgressControl::increase(DWORD64 value)
bool
ProgressControl::show()
{
- DWORD curPos = (DWORD) ((m_dw64CurrentValue * MAX_RANGE) / m_dw64MaxValue);
- SendMessage(m_hwndProgress, PBM_SETPOS, (WPARAM) curPos, (LPARAM) 0);
-
- return true;
+ DWORD curPos = (DWORD) ((m_dw64CurrentValue * MAX_RANGE) / m_dw64MaxValue);
+ SendMessage(m_hwndProgress, PBM_SETPOS, (WPARAM) curPos, (LPARAM) 0);
+
+ return true;
}