More go fmt.
This commit is contained in:
parent
a3222f248d
commit
5b19e6e9a1
|
@ -4,7 +4,6 @@ package ui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
// "syscall"
|
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -48,7 +47,7 @@ func getWinMainnCmdShow() {
|
||||||
|
|
||||||
// does not fail according to MSDN
|
// does not fail according to MSDN
|
||||||
kernel32.NewProc("GetStartupInfoW").Call(uintptr(unsafe.Pointer(&info)))
|
kernel32.NewProc("GetStartupInfoW").Call(uintptr(unsafe.Pointer(&info)))
|
||||||
if info.dwFlags & _STARTF_USESHOWWINDOW != 0 {
|
if info.dwFlags&_STARTF_USESHOWWINDOW != 0 {
|
||||||
nCmdShow = int(info.wShowWindow)
|
nCmdShow = int(info.wShowWindow)
|
||||||
} else {
|
} else {
|
||||||
nCmdShow = _SW_SHOWDEFAULT
|
nCmdShow = _SW_SHOWDEFAULT
|
||||||
|
|
Loading…
Reference in New Issue