summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2007-05-06 22:35:26 +0200
committerJamey Sharp <jamey@minilop.net>2007-05-12 18:52:11 -0700
commit7a808b48a01c9460c8d30b031e431455984b3ce1 (patch)
treecd16816d8fe7718ef202778c2e3f11491761ecc4
parent785486dd33723ed0ba207cc5021c5c77c07abd4b (diff)
Bug #10877: Fixed the atom values that are written to the hash table.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
-rw-r--r--atom/atoms.gperf.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/atom/atoms.gperf.m4 b/atom/atoms.gperf.m4
index 2a4a369..9554972 100644
--- a/atom/atoms.gperf.m4
+++ b/atom/atoms.gperf.m4
@@ -18,6 +18,7 @@ include(atomlist.m4)`'dnl
%struct-type
struct atom_map { int name; xcb_atom_t value; };
%%
+define(`COUNT', 0)dnl
define(`DO', `$1,define(`COUNT', incr(COUNT))COUNT')dnl
include(atomlist.m4)`'dnl
%%