Be sure that class name storaed in 'class_name' is lower case.
MFC after: 1 week
This commit is contained in:
parent
7112e51413
commit
2762d2e8a6
@ -519,6 +519,9 @@ set_class_name(void)
|
||||
{
|
||||
char *s1, *s2;
|
||||
|
||||
s1 = class_name;
|
||||
for (; *s1 != '\0'; s1++)
|
||||
*s1 = tolower(*s1);
|
||||
gclass_name = malloc(strlen(class_name));
|
||||
if (gclass_name == NULL)
|
||||
errx(EXIT_FAILURE, "No memory");
|
||||
|
Loading…
Reference in New Issue
Block a user