aboutsummaryrefslogtreecommitdiffstats
path: root/win/vncconfig/Legacy.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/vncconfig/Legacy.cxx')
-rw-r--r--win/vncconfig/Legacy.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncconfig/Legacy.cxx b/win/vncconfig/Legacy.cxx
index 1ea867fb..9300bb05 100644
--- a/win/vncconfig/Legacy.cxx
+++ b/win/vncconfig/Legacy.cxx
@@ -42,7 +42,7 @@ void LegacyPage::LoadPrefs()
std::string username;
try {
username = UserName();
- } catch (rdr::SystemException& e) {
+ } catch (rdr::Win32Exception& e) {
if (e.err != ERROR_NOT_LOGGED_ON)
throw;
}