Browse Source

Removed unnecessary comparisons when lowercasing a string.

pre-master-46
Jim Monte 6 years ago
committed by Holger Vogt
parent
commit
3a2a05f7b0
  1. 4
      src/xspice/cmpp/util.c

4
src/xspice/cmpp/util.c

@ -85,9 +85,7 @@ void str_to_lower(char *s)
char c;
for(i = 0; (c = s[i]) != '\0'; i++)
if(isalpha_c(c))
if(isupper_c(c))
s[i] = tolower_c(c);
s[i] = tolower_c(c);
}

Loading…
Cancel
Save