aboutsummaryrefslogtreecommitdiffstats
path: root/win/vncconfig/Hooking.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/vncconfig/Hooking.h')
-rw-r--r--win/vncconfig/Hooking.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/win/vncconfig/Hooking.h b/win/vncconfig/Hooking.h
index 1b02a1d5..e775f290 100644
--- a/win/vncconfig/Hooking.h
+++ b/win/vncconfig/Hooking.h
@@ -56,14 +56,14 @@ namespace rfb {
}
bool onOk() {
if (isItemChecked(IDC_USEPOLLING))
- regKey.setInt(_T("UpdateMethod"), 0);
+ regKey.setInt("UpdateMethod", 0);
if (isItemChecked(IDC_USEHOOKS))
- regKey.setInt(_T("UpdateMethod"), 1);
- regKey.setBool(_T("PollConsoleWindows"), isItemChecked(IDC_POLLCONSOLES));
- regKey.setBool(_T("UseCaptureBlt"), isItemChecked(IDC_CAPTUREBLT));
+ regKey.setInt("UpdateMethod", 1);
+ regKey.setBool("PollConsoleWindows", isItemChecked(IDC_POLLCONSOLES));
+ regKey.setBool("UseCaptureBlt", isItemChecked(IDC_CAPTUREBLT));
// *** LEGACY compatibility ***
- regKey.setBool(_T("UseHooks"), isItemChecked(IDC_USEHOOKS));
+ regKey.setBool("UseHooks", isItemChecked(IDC_USEHOOKS));
return true;
}
protected: