summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2007-05-06 22:35:26 +0200
committerArnaud Fontaine <arnau@debian.org>2010-11-14 19:49:48 +0900
commitc7ce8e2377241dc436ea1623313178dec3acf2ad (patch)
tree014094d95ff43dfefae0c45f4e493e3bd58f3e2b
parentc452816e77aa49b9b3564dae5ec2285a3249c7e2 (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
%%