diff options
Diffstat (limited to 'elevate/shellexecute.go')
-rw-r--r-- | elevate/shellexecute.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elevate/shellexecute.go b/elevate/shellexecute.go index 149a4c57..c4cd04da 100644 --- a/elevate/shellexecute.go +++ b/elevate/shellexecute.go @@ -94,7 +94,7 @@ func ShellExecute(program string, arguments string, directory string, show int32 return } var windowsDirectory [windows.MAX_PATH]uint16 - if _, err = getWindowsDirectory(&windowsDirectory[0], windows.MAX_PATH); err != nil { + if _, err = getSystemWindowsDirectory(&windowsDirectory[0], windows.MAX_PATH); err != nil { return } originalPath := dataTableEntry.FullDllName.Buffer |