aboutsummaryrefslogtreecommitdiff
path: root/nexgb/examples
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2014-05-10 11:41:51 -0400
committerPřemysl Janouch <p@janouch.name>2018-09-08 16:49:23 +0200
commitef8155bf17787473a58f00d54cfc8a7e16ee8708 (patch)
treec88a5feea3e109f82587ac76fd44cd2acd0ca68a /nexgb/examples
parenta548d9d0f7b889627c43b18811357fad88760b2d (diff)
downloadhaven-ef8155bf17787473a58f00d54cfc8a7e16ee8708.tar.gz
haven-ef8155bf17787473a58f00d54cfc8a7e16ee8708.tar.xz
haven-ef8155bf17787473a58f00d54cfc8a7e16ee8708.zip
Formatting and 80 cols.
Diffstat (limited to 'nexgb/examples')
-rw-r--r--nexgb/examples/randr/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/nexgb/examples/randr/main.go b/nexgb/examples/randr/main.go
index ac6fb7a..01ad594 100644
--- a/nexgb/examples/randr/main.go
+++ b/nexgb/examples/randr/main.go
@@ -49,7 +49,8 @@ func main() {
bestMode := info.Modes[0]
for _, mode := range resources.Modes {
if mode.Id == uint32(bestMode) {
- fmt.Printf("Width: %d, Height: %d\n", mode.Width, mode.Height)
+ fmt.Printf("Width: %d, Height: %d\n",
+ mode.Width, mode.Height)
}
}
}