summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2008-08-27 13:56:22 +0200
committerJulien Danjou <julien@danjou.info>2008-08-28 13:49:21 +0200
commit1ead02e88eb9f37757eeb1cc8c762fc48d6d08ee (patch)
tree683d187e4ef833cf826573dc6b4fc3f1d3946cbe
parentf209d0ef7ad57a395c01ca09ecf48117a648e39c (diff)
initialize global_id to 0
Signed-off-by: Julien Danjou <julien@danjou.info>
-rwxr-xr-xsrc/c_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_client.py b/src/c_client.py
index 19c8015..1c6ad16 100755
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -183,7 +183,7 @@ def c_open(self):
_h('extern xcb_extension_t %s;', _ns.c_ext_global_name)
_c('')
- _c('xcb_extension_t %s = { "%s" };', _ns.c_ext_global_name, _ns.ext_xname)
+ _c('xcb_extension_t %s = { "%s", 0 };', _ns.c_ext_global_name, _ns.ext_xname)
def c_close(self):
'''