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