Code improvements.
Added FTProgress class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@377 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb_win32/ProgressControl.cxx b/rfb_win32/ProgressControl.cxx
index c22c4f3..dd6a79f 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 @@
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;
}