X-Git-Url: http://git.jankratochvil.net/?p=timeplan.git;a=blobdiff_plain;f=timeplan.c;h=e48910c14446a7c81846ddaee34cb3c22e70678e;hp=f8fd739a7e7630cea3d49a7aa455ee622dac5440;hb=ddfb77bfc7bf352e7be892b9bb6aec5675bab45d;hpb=e1a7415edb3f81591dce1045b0112d45fc36c05e 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; }