aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgbgen/protocol.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-06 17:48:40 -0400
committerAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-06 17:48:40 -0400
commit6d545e723a7e972998a0e77adcf2219a31a9b800 (patch)
tree1aa0e2cb470b178669d1abab52c7b8ebac406964 /nexgb/xgbgen/protocol.go
parent135cee57610cccd10009b264cce7fbcd5af367cb (diff)
downloadhaven-6d545e723a7e972998a0e77adcf2219a31a9b800.tar.gz
haven-6d545e723a7e972998a0e77adcf2219a31a9b800.tar.xz
haven-6d545e723a7e972998a0e77adcf2219a31a9b800.zip
add more extension cruft. make extension checking more uniform.
Diffstat (limited to 'nexgb/xgbgen/protocol.go')
-rw-r--r--nexgb/xgbgen/protocol.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/xgbgen/protocol.go b/nexgb/xgbgen/protocol.go
index 505b400..e01bc17 100644
--- a/nexgb/xgbgen/protocol.go
+++ b/nexgb/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"
}