Private use character fixing

Not allowing fullwidth to be used for NN
This commit is contained in:
Kurt 2014-12-13 08:24:29 -08:00
parent 2705e73f64
commit 4abc858c59

View file

@ -691,13 +691,10 @@ namespace PKHeX
Label_OTGender.Text = gendersymbols[1];
else Label_OTGender.Text = gendersymbols[0];
// Nidoran Gender Fixing Text
if (!Convert.ToBoolean(isnick))
// Private Use Character Fixing Text
{
if (nicknamestr.Contains((char)0xE08F))
nicknamestr = Regex.Replace(nicknamestr, "\uE08F", "\u2640");
else if (nicknamestr.Contains((char)0xE08E))
nicknamestr = Regex.Replace(nicknamestr, "\uE08E", "\u2642");
nicknamestr = Regex.Replace(nicknamestr, "\uE08F", "\u2640");
nicknamestr = Regex.Replace(nicknamestr, "\uE08E", "\u2642");
}
populateMarkings(markings);
TB_PID.Text = PID.ToString("X8");