mirror of https://github.com/dirtbags/moth.git
lowercase tokens automatically
This commit is contained in:
parent
9b2c255194
commit
e0c6db6c2f
|
@ -58,7 +58,7 @@ main(int argc, char *argv[])
|
|||
|
||||
/* Pull category name out of the token */
|
||||
for (q = category; *p && (*p != ':'); p += 1) {
|
||||
*(q++) = *p;
|
||||
*(q++) = tolower(*p);
|
||||
}
|
||||
*q = '\0';
|
||||
if (p) p += 1;
|
||||
|
|
Loading…
Reference in New Issue