richedit: Removed some unused code

Dylan Smith dylan.ah.smith at gmail.com
Thu Dec 18 00:56:38 CST 2008


The ME_InvalidateFromOfs and ME_QueueInvalidateFromCursor methods are
never called, and the nInvalidOfs variable had its value set but never
used.

At first I was going to fix the code because editor->rcFormat is not
used properly in many places, but this code doesn't seem like it will be
needed, so it is better to just remove it.
---
 dlls/riched20/editor.c  |    1 -
 dlls/riched20/editor.h  |    1 -
 dlls/riched20/editstr.h |    1 -
 dlls/riched20/paint.c   |   25 -------------------------
 4 files changed, 0 insertions(+), 28 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Removed-some-unused-code.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081218/34a97ecb/attachment.txt 


More information about the wine-patches mailing list