From c1d8be8106adce5efcd99ba50cb361d35d6264e0 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sat, 23 Nov 2024 10:42:31 -0700 Subject: [PATCH] Use `char32_t` for UTF-32 characters This is probably an oversight from https://github.com/SFML/SFML/pull/2480 --- include/SFML/Window/Event.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SFML/Window/Event.hpp b/include/SFML/Window/Event.hpp index 7e7da7637..98f66e3d3 100644 --- a/include/SFML/Window/Event.hpp +++ b/include/SFML/Window/Event.hpp @@ -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 }; ////////////////////////////////////////////////////////////