summaryrefslogtreecommitdiff
path: root/stdwndclass_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-25 23:22:47 -0400
committerPietro Gagliardi <[email protected]>2014-06-25 23:22:47 -0400
commit6e170ad1dbe842081a6d28f9cccf6c86d6fd0a4e (patch)
tree52e752a8c00dba4b9d1293f4565250fc5219d25e /stdwndclass_windows.go
parent1eeadc000ae796bd022879196c4f2bae3bb189de (diff)
Made a quick comment clarificaiton in stdwndclass_windows.go.
Diffstat (limited to 'stdwndclass_windows.go')
-rw-r--r--stdwndclass_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdwndclass_windows.go b/stdwndclass_windows.go
index 9d6fc35..3fa23c4 100644
--- a/stdwndclass_windows.go
+++ b/stdwndclass_windows.go
@@ -157,7 +157,7 @@ func stdWndProc(hwnd _HWND, uMsg uint32, wParam _WPARAM, lParam _LPARAM) _LRESUL
if r1 == 0 {
panic("GetClientRect failed: " + err.Error())
}
- // top-left corner of a client rect is (0,0) so no need for left/top
+ // top-left corner of a client rect is always (0,0) so no need for left/top
s.resizeWindow(int(r.right), int(r.bottom))
// TODO use the Defer movement functions here?
// TODO redraw window and all children here?