diff options
Diffstat (limited to 'convert.c')
-rw-r--r-- | convert.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1121,9 +1121,9 @@ static int is_foreign_ident(const char *str) { int i; - if (!starts_with(str, "$Id: ")) + if (!skip_prefix(str, "$Id: ", &str)) return 0; - for (i = 5; str[i]; i++) { + for (i = 0; str[i]; i++) { if (isspace(str[i]) && str[i+1] != '$') return 1; } |