1
0
Fork 0
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:
Michael Scire 2022-06-08 00:49:47 -07:00
parent 20d200471d
commit 4e112de223

View file

@ -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;
}
} }
} }
} }