summaryrefslogtreecommitdiffstats
path: root/rfb_win32
diff options
context:
space:
mode:
authorDennis Syrovatsky <dennis@tightvnc.com>2005-11-06 05:35:27 +0000
committerDennis Syrovatsky <dennis@tightvnc.com>2005-11-06 05:35:27 +0000
commit803e02c7e02794a31358505e899d53332e9db7e2 (patch)
tree1d62b2e9e7af78c2dd661a16f86a8fd64a989610 /rfb_win32
parent84e81b5101ca1858f0c3c98774884c968e92e8e5 (diff)
downloadtigervnc-803e02c7e02794a31358505e899d53332e9db7e2.tar.gz
tigervnc-803e02c7e02794a31358505e899d53332e9db7e2.zip
Code improvements.
Added FTProgress class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@377 3789f03b-4d11-0410-bbf8-ca57d06f2519
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;
}