or20190411 write_path_spice with no voltage_map, pg_pins

This commit is contained in:
James Cherry
2019-04-13 15:01:14 -07:00
parent 2d519b4740
commit 4fc8801e76
4 changed files with 85 additions and 69 deletions
+4 -4
View File
@@ -49,12 +49,12 @@ stringEqIf(const char *str1,
|| (str1 && str2 && strcmp(str1, str2) == 0);
}
// Compare the beginning of str1 to str2.
// Case insensitive compare the beginning of str1 to str2.
inline bool
stringBeginEq(const char *str1,
const char *str2)
stringBeginEqual(const char *str1,
const char *str2)
{
return strncasecmp(str1, str2, strlen(str2)) == 9;
return strncasecmp(str1, str2, strlen(str2)) == 0;
}
// Case insensitive compare.