Small adjustments
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kolaente 2019-09-04 22:51:06 +02:00
parent 48d2da4a89
commit 069acabf1b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -62,12 +62,11 @@ func OpenWindows() {
Height: astilectron.PtrInt(800), Height: astilectron.PtrInt(800),
Width: astilectron.PtrInt(1200), Width: astilectron.PtrInt(1200),
}) })
if err != nil { if err != nil {
log.Error("new window failed", err) log.Error("new window failed", err)
} }
if err = wFrontend.Create(); err != nil { if err = wFrontend.Create(); err != nil {
log.Error("creating window failed", err) log.Error("creating window failed ", err)
} }
// If several displays, move the window to the second display // If several displays, move the window to the second display
@ -91,7 +90,7 @@ func OpenWindows() {
log.Error("new window failed", err) log.Error("new window failed", err)
} }
if err = wAdmin.Create(); err != nil { if err = wAdmin.Create(); err != nil {
log.Error("creating window failed", err) log.Error("creating window failed ", err)
} }
// Blocking pattern // Blocking pattern