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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncconfig/Hooking.h b/win/vncconfig/Hooking.h
index e775f290..d3cf8620 100644
--- a/win/vncconfig/Hooking.h
+++ b/win/vncconfig/Hooking.h
@@ -31,7 +31,7 @@ namespace rfb {
class HookingPage : public PropSheetPage {
public:
HookingPage(const RegKey& rk)
- : PropSheetPage(GetModuleHandle(0), MAKEINTRESOURCE(IDD_HOOKING)), regKey(rk) {}
+ : PropSheetPage(GetModuleHandle(nullptr), MAKEINTRESOURCE(IDD_HOOKING)), regKey(rk) {}
void initDialog() {
setItemChecked(IDC_USEPOLLING, rfb::win32::SDisplay::updateMethod == 0);
setItemChecked(IDC_USEHOOKS, (rfb::win32::SDisplay::updateMethod == 1));