mirror of https://github.com/dirtbags/moth.git
lowercase tokens automatically
This commit is contained in:
parent
20983f810f
commit
1ddc30bdaa
|
@ -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