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