diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3ae2bcc..9d897b7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -169,7 +169,7 @@ void on_button_elevate_click(HWND wnd) try { - process::runas(process::get_executable_path(), wnd); + process::runas_self(wnd); } catch (const Error& e) { |