http://bugs.winehq.org/show_bug.cgi?id=2813
------- Additional Comments From burnus@gmx.de 2005-07-04 11:17 -------
You know... I am really curious what es->text is right before the call to
Missed that sentence.
trace:edit:EDIT_EM_ReplaceSel inserting stuff (tl 0, strl 2, selstart 0 ('L""'), text 'L""') trace:edit:EDIT_EM_ReplaceSel text to be inserted: L"10" (a debugstr_w(lpsz_replace) directly afterwards)
An in that loop, we have with: TRACE("es->text_width = %d, fw=%d, %s\n", es->text_width, fw, debugstr_w(es->text)); trace:edit:EDIT_EM_ReplaceSel es->text_width = 20, fw=7, L"10" and after the loop: trace:edit:EDIT_EM_ReplaceSel es->text_width = 0, fw=7, L""