aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgbgen/context.go
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-09-21 08:35:18 +0200
committerPřemysl Janouch <p@janouch.name>2018-09-30 17:34:25 +0200
commit1a53c005e95c6db33160da9cddae2bde88c8d1ca (patch)
tree6701b5419869b57fb847b1c689d60ff4bf7b561f /nexgb/xgbgen/context.go
parent07bf9881cc00a8ff5e0ad4980a612ff1821d37e8 (diff)
downloadhaven-1a53c005e95c6db33160da9cddae2bde88c8d1ca.tar.gz
haven-1a53c005e95c6db33160da9cddae2bde88c8d1ca.tar.xz
haven-1a53c005e95c6db33160da9cddae2bde88c8d1ca.zip
nexgb: gofmt
Diffstat (limited to 'nexgb/xgbgen/context.go')
-rw-r--r--nexgb/xgbgen/context.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/nexgb/xgbgen/context.go b/nexgb/xgbgen/context.go
index 8c658e6..579c480 100644
--- a/nexgb/xgbgen/context.go
+++ b/nexgb/xgbgen/context.go
@@ -49,7 +49,7 @@ func (c *Context) Morph(xmlBytes []byte) {
// Translate XML types to nice types
c.protocol = parsedXml.Translate(nil)
-
+
// For backwards compatibility we patch the type of the send_event field of
// PutImage to be byte
if c.protocol.Name == "shm" {
@@ -62,7 +62,7 @@ func (c *Context) Morph(xmlBytes []byte) {
if !ok || field.xmlName != "send_event" {
continue
}
- field.Type = &Base{ srcName: "byte", xmlName: "CARD8", size: newFixedSize(1, true) }
+ field.Type = &Base{srcName: "byte", xmlName: "CARD8", size: newFixedSize(1, true)}
}
}
}