fix: ImFontGlyphReal.Codepoint setter not using value

This commit is contained in:
goaaats 2022-05-12 11:05:47 +02:00
parent b1d927ab8f
commit f9eb853a18
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B

View file

@ -240,7 +240,7 @@ namespace Dalamud.Interface
public int Codepoint
{
get => (int)(this.ColoredVisibleCodepoint >> 2);
set => this.ColoredVisibleCodepoint = (this.ColoredVisibleCodepoint & 3u) | ((uint)this.Codepoint << 2);
set => this.ColoredVisibleCodepoint = (this.ColoredVisibleCodepoint & 3u) | ((uint)value << 2);
}
}
}