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++) = ';';
} else if (name[i] == '>') {
*(cur++) = '&';
*(cur++) = 'r';
*(cur++) = 'g';
*(cur++) = 't';
*(cur++) = ';';
} else {
*(cur++) = name[i];
}
if (name[i] == '\x00') {
break;
if (name[i] == '\x00') {
break;
}
}
}
}