summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/lexh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lexh.c b/tools/lexh.c
index a8d8763..a4ca937 100644
--- a/tools/lexh.c
+++ b/tools/lexh.c
@@ -42,7 +42,7 @@ hash(char *s)
 
 	h = 0;
 	for (; *s; ++s)
-		h = *s + 5*h;
+		h = *s + 17*h;
 	return h;
 }