When checking for µ, truncated the line, when shifted.
Enable R470, when newcompat LT is selected.
This commit is contained in:
parent
3dcc36c1c3
commit
df5e7e36f6
|
|
@ -2431,6 +2431,8 @@ static int is_a_modelname(const char *s)
|
|||
/*token contains a '=' */
|
||||
if (strchr(s, '='))
|
||||
return FALSE;
|
||||
if (newcompat.lt && *s == 'r')
|
||||
s++;
|
||||
/* first character of model name is character from alphabet */
|
||||
if (isalpha_c(s[0]))
|
||||
return TRUE;
|
||||
|
|
@ -9876,6 +9878,7 @@ utf8_check(unsigned char *s)
|
|||
while (*z) {
|
||||
*y++ = *z++;
|
||||
}
|
||||
*y = '\0';
|
||||
s++;
|
||||
}
|
||||
else if ((s[0] & 0xe0) == 0xc0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue