code review 225790043: taowm: fix a "go vet" warning. (issue 225790043 by nigeltao@golang.org)

5 views
Skip to first unread message

nige...@golang.org

unread,
Apr 5, 2015, 7:30:18 AM4/5/15
to nige...@golang.org, ta...@googlegroups.com, re...@codereview-hr.appspotmail.com
Reviewers: nigeltao,

Message:
Hello nige...@golang.org (cc: ta...@googlegroups.com),

I'd like you to review this change to
https://code.google.com/p/taowm/


Description:
taowm: fix a "go vet" warning.

Please review this at https://codereview.appspot.com/225790043/

Affected files (+1, -1 lines):
M taowm/draw.go


Index: taowm/draw.go
===================================================================
--- a/taowm/draw.go
+++ b/taowm/draw.go
@@ -35,7 +35,7 @@
}

func unclip() {
- r := xp.Rectangle{0, 0, desktopWidth, desktopHeight}
+ r := xp.Rectangle{X: 0, Y: 0, Width: desktopWidth, Height: desktopHeight}
check(xp.SetClipRectanglesChecked(
xConn, xp.ClipOrderingUnsorted, desktopXGC, 0, 0, []xp.Rectangle{r}))
}


nige...@golang.org

unread,
Apr 5, 2015, 7:30:28 AM4/5/15
to nige...@golang.org, ta...@googlegroups.com, re...@codereview-hr.appspotmail.com

nige...@golang.org

unread,
Apr 5, 2015, 7:31:17 AM4/5/15
to nige...@golang.org, ta...@googlegroups.com, re...@codereview-hr.appspotmail.com
Reply all
Reply to author
Forward
0 new messages