From: short <> Date: Wed, 19 Jul 2000 21:16:34 +0000 (+0000) Subject: Fixed action-hasing bug with broken cas insesitiveness. X-Git-Tag: rel1_0~12 X-Git-Url: https://git.jankratochvil.net/?p=timeplan.git;a=commitdiff_plain;h=1b355f73a1315b7858a13058a01bbb397da53029;hp=e1a7415edb3f81591dce1045b0112d45fc36c05e Fixed action-hasing bug with broken cas insesitiveness. --- diff --git a/timeplan.c b/timeplan.c index f8fd739..e48910c 100644 --- a/timeplan.c +++ b/timeplan.c @@ -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; }