richedit: Store richedit version rather than boolean bEmulateVersion10 value
Dylan Smith
dylan.ah.smith at gmail.com
Thu Jul 3 12:46:04 CDT 2008
riched20.dll is implementing all the versions of richedit controls (1.0,
2.0, 3.0, and 4.1), so it is better to store the version that is being
emulated. The bEmulateVersion10 value is replaced with dwEmulatedVersion.
After some discussion on the wine-devel mailing list there seemed to be
agreement that this was the right approach.
---
dlls/riched20/caret.c | 6 ++--
dlls/riched20/editor.c | 64 +++++++++++++++++++++++++++++++---------------
dlls/riched20/editstr.h | 4 ++-
dlls/riched20/paint.c | 2 +-
dlls/riched20/para.c | 2 +-
dlls/riched20/reader.c | 2 +-
dlls/riched20/string.c | 2 +-
dlls/riched20/writer.c | 2 +-
8 files changed, 54 insertions(+), 30 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Store-richedit-version-rather-than-bool.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080703/935e1377/attachment.txt
More information about the wine-patches
mailing list