Use char32_t for UTF-32 characters

This is probably an oversight from https://github.com/SFML/SFML/pull/2480
This commit is contained in:
Chris Thrasher 2024-11-23 10:42:31 -07:00
parent 832c608a5b
commit c1d8be8106
No known key found for this signature in database
GPG Key ID: 56FB686C9DFC8E2C

View File

@ -85,7 +85,7 @@ public:
////////////////////////////////////////////////////////////
struct TextEntered
{
std::uint32_t unicode{}; //!< UTF-32 Unicode value of the character
char32_t unicode{}; //!< UTF-32 Unicode value of the character
};
////////////////////////////////////////////////////////////