mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-12 09:54:36 +01:00
Rename 'class' parameter because it's reserved in C++
This commit is contained in:
parent
28886d3b6f
commit
38204b0b4c
@ -1879,13 +1879,13 @@ static NSVGclipPath* nsvg__findClipPath(NSVGparser* p, const char* name)
|
||||
return *link;
|
||||
}
|
||||
|
||||
static int substr(const char* class, char* style)
|
||||
static int substr(const char* aClass, char* style)
|
||||
{
|
||||
const char *p;
|
||||
|
||||
while (*class) {
|
||||
while (*aClass) {
|
||||
char *s = style;
|
||||
p = class++;
|
||||
p = aClass++;
|
||||
while (*p++ == *s++) {
|
||||
if (*s == '\0') {
|
||||
if ((*p == '\0') || (*p == ' ')) {
|
||||
|
Loading…
Reference in New Issue
Block a user