31 May
2023
31 May
'23
2:29 p.m.
This is to prevent NULL pointers when creating a standalone text service that doesn't have any text set and then using functions like EM_SETSEL. This NULL pointers doesn't happen when creating a richedit windows, because it sets an empty text when the richedit window procedure handles the WM_CREATE event. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2941