More go fmt.
This commit is contained in:
parent
94f9684e68
commit
3c1a61049b
|
@ -282,7 +282,7 @@ func (s *sysData) setRect(x int, y int, width int, height int, winheight int) er
|
||||||
// winheight - y because (0,0) is the bottom-left corner of the window and not the top-left corner
|
// winheight - y because (0,0) is the bottom-left corner of the window and not the top-left corner
|
||||||
// (winheight - y) - height because (x, y) is the bottom-left corner of the control and not the top-left
|
// (winheight - y) - height because (x, y) is the bottom-left corner of the control and not the top-left
|
||||||
C.setRect(s.id,
|
C.setRect(s.id,
|
||||||
C.intptr_t(x), C.intptr_t((winheight - y) - height),
|
C.intptr_t(x), C.intptr_t((winheight-y)-height),
|
||||||
C.intptr_t(width), C.intptr_t(height))
|
C.intptr_t(width), C.intptr_t(height))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue