richedit: removed useless code
Dylan Smith
dylan.ah.smith at gmail.com
Fri May 2 16:00:24 CDT 2008
Function ME_PaintContent in paint.c:
- removed code that conditionally incremented ys without using it
Note: The code was useless since it was introduced a while ago. Also
I tried moving it before the FillRect and it introduced a graphical glitch.
- replaced a calculation the equivalant precomputed local variable
Function ME_WrapMarkedParagraphs in wrap.c:
- removed duplicate initializations of two values to 0, since they are
initialized to 0 in the directly preceding call to ME_InitContext
-------------- next part --------------
A non-text attachment was scrubbed...
Name: riched20-removed-useless-code.diff
Type: text/x-diff
Size: 1327 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080502/60fb7c9e/attachment.diff
More information about the wine-patches
mailing list