summaryrefslogtreecommitdiff
path: root/xgbgen/protocol.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <[email protected]>2012-05-06 17:48:40 -0400
committerAndrew Gallant (Ocelot) <[email protected]>2012-05-06 17:48:40 -0400
commit26191c0f45bd6a112085c44c271a135d65c80f18 (patch)
tree1ab3980e5daef82c6da6832dfb9c89543612d1f0 /xgbgen/protocol.go
parent57ae07f66541348497db9a5bb84c99770e7b14c1 (diff)
add more extension cruft. make extension checking more uniform.
Diffstat (limited to 'xgbgen/protocol.go')
-rw-r--r--xgbgen/protocol.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xgbgen/protocol.go b/xgbgen/protocol.go
index 505b400..e01bc17 100644
--- a/xgbgen/protocol.go
+++ b/xgbgen/protocol.go
@@ -36,6 +36,6 @@ func (p *Protocol) Initialize() {
// isExt returns true if this protocol is an extension.
// i.e., it's name isn't "xproto".
func (p *Protocol) isExt() bool {
- return strings.ToLower(p.Name) == "xproto"
+ return strings.ToLower(p.Name) != "xproto"
}