Module: wine Branch: master Commit: 82e102107c8a03566032f15f1f4d173c0850a9aa URL: http://source.winehq.org/git/wine.git/?a=commit;h=82e102107c8a03566032f15f1f...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Wed Aug 12 09:05:51 2009 -0400
richedit: ME_GetTextW must use source and destination lengths.
Before a single length was used for the number of characters to retrieve from the text, and to keep track of the size of the buffer. These are not equivalent, since there is a possible end of line conversion.
---
dlls/riched20/clipboard.c | 16 ++++- dlls/riched20/editor.c | 160 +++++++++++++++++++++++---------------------- dlls/riched20/editor.h | 4 +- dlls/riched20/editstr.h | 1 + dlls/riched20/table.c | 4 +- dlls/riched20/txtsrv.c | 4 +- 6 files changed, 101 insertions(+), 88 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=82e102107c8a03566032f1...