Fixed action-hasing bug with broken cas insesitiveness.
[timeplan.git] / timeplan.c
index f8fd739..e48910c 100644 (file)
@@ -183,7 +183,7 @@ static unsigned calchash(const char *s)
 {
 unsigned r=57;
 
-       while (*s) r=r*7+11*(*s++);
+       while (*s) r=r*7+11*toupper(*s++);
        return r;
 }