Skip to content

Commit dfaaea7

Browse files
committed
Un-export Window-specific identifiers
1 parent 2a4e89a commit dfaaea7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

browser_windows.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//go:generate mkwinsyscall -output zbrowser_windows.go browser_windows.go
2-
//sys ShellExecute(hwnd int, verb string, file string, args string, cwd string, showCmd int) (err error) = shell32.ShellExecuteW
2+
//sys shellExecute(hwnd int, verb string, file string, args string, cwd string, showCmd int) (err error) = shell32.ShellExecuteW
33
package browser
44

55
import "os/exec"
6-
const SW_SHOWNORMAL = 1
6+
const sW_SHOWNORMAL = 1
77

88
func openBrowser(url string) error {
9-
return ShellExecute(0, "", url, "", "", SW_SHOWNORMAL)
9+
return shellExecute(0, "", url, "", "", sW_SHOWNORMAL)
1010
}
1111

1212
func setFlags(cmd *exec.Cmd) {

zbrowser_windows.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)