aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/QueryConnectDialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/winvnc/QueryConnectDialog.cxx')
-rw-r--r--win/winvnc/QueryConnectDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/winvnc/QueryConnectDialog.cxx b/win/winvnc/QueryConnectDialog.cxx
index 6ec62bbd..1ef26e63 100644
--- a/win/winvnc/QueryConnectDialog.cxx
+++ b/win/winvnc/QueryConnectDialog.cxx
@@ -74,7 +74,7 @@ void QueryConnectDialog::worker() {
void QueryConnectDialog::initDialog() {
if (!SetTimer(handle, 1, 1000, nullptr))
- throw rdr::Win32Exception("SetTimer", GetLastError());
+ throw rdr::win32_error("SetTimer", GetLastError());
setItemString(IDC_QUERY_HOST, peerIp.c_str());
if (userName.empty())
userName = "(anonymous)";