https://bugs.winehq.org/show_bug.cgi?id=54565
--- Comment #3 from François Gouget fgouget@codeweavers.com --- We also have: "a" -> ""
It's as if EM_GETSELTEXT is losing the last character. But in the richole failure case it's the whole string that gets lost.