From 26191c0f45bd6a112085c44c271a135d65c80f18 Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Sun, 6 May 2012 17:48:40 -0400 Subject: add more extension cruft. make extension checking more uniform. --- xgbgen/protocol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xgbgen/protocol.go') 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" } -- cgit v1.2.3