aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-09-24 13:57:13 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-09-27 10:44:35 +0200
commit18edc6cf99ae173ec2dd074e7fe7540261e4197c (patch)
treefd12d48fbe2d3fb184016ca8ae7ff7e512f46049 /ui
parentRevert "updater: use winhttp to reduce filesize" (diff)
downloadwireguard-windows-18edc6cf99ae173ec2dd074e7fe7540261e4197c.tar.xz
wireguard-windows-18edc6cf99ae173ec2dd074e7fe7540261e4197c.zip
mod: bump versions
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 7d81e1cd..22354d12 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -25,7 +25,7 @@ var startTime = time.Now()
func RunUI() {
runtime.LockOSThread()
- windows.SetProcessPriorityBoost(windows.GetCurrentProcess(), false)
+ windows.SetProcessPriorityBoost(windows.CurrentProcess(), false)
defer func() {
if err := recover(); err != nil {
showErrorCustom(nil, "Panic", fmt.Sprint(err, "\n\n", string(debug.Stack())))