diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2021-07-02 04:08:29 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2021-07-02 04:08:29 +0300 |
commit | b39d66adde52eb72bd93c2ecd75135fdfc9ca05b (patch) | |
tree | 702188189134a85e15fd87ef2ef4b06294f7043d /intern/ghost/test | |
parent | 0ff1c38fcc8c78e9955f7c7918e0d534e39b55a6 (diff) |
Fix T88909: Win32 getTitle() UTF8 Support
In the Win32 platform our setTitle() can properly assign a Unicode
utf-8 window title. Unfortunately our getTitle() will only read regular
8-bit character strings. This means that we can never compare what we
set to what we get. This patch updates getTitle() to use Unicode-aware
GetWindowTextLengthW and GetWindowTextW.
see T88909 for an example of this affecting user experience.
Differential Revision: https://developer.blender.org/D11782
Reviewed by Ray Molenkamp
Diffstat (limited to 'intern/ghost/test')
0 files changed, 0 insertions, 0 deletions