More go fmt.

This commit is contained in:
Pietro Gagliardi 2014-06-10 13:10:59 -04:00
parent a3222f248d
commit 5b19e6e9a1
2 changed files with 24 additions and 25 deletions

View File

@ -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