mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-29 17:28:57 +02:00
or20190411 write_path_spice with no voltage_map, pg_pins
This commit is contained in:
+4
-4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user