mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 20:06:40 +00:00
dmnt.gen2: fix gt, optimize
This commit is contained in:
parent
20d200471d
commit
4e112de223
1 changed files with 4 additions and 4 deletions
|
@ -2365,15 +2365,15 @@ namespace ams::dmnt {
|
||||||
*(cur++) = ';';
|
*(cur++) = ';';
|
||||||
} else if (name[i] == '>') {
|
} else if (name[i] == '>') {
|
||||||
*(cur++) = '&';
|
*(cur++) = '&';
|
||||||
*(cur++) = 'r';
|
*(cur++) = 'g';
|
||||||
*(cur++) = 't';
|
*(cur++) = 't';
|
||||||
*(cur++) = ';';
|
*(cur++) = ';';
|
||||||
} else {
|
} else {
|
||||||
*(cur++) = name[i];
|
*(cur++) = name[i];
|
||||||
}
|
|
||||||
|
|
||||||
if (name[i] == '\x00') {
|
if (name[i] == '\x00') {
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue