Dylan Smith : richedit: Removed unused local variable yStart.
Alexandre Julliard
julliard at winehq.org
Fri Feb 5 08:42:30 CST 2010
Module: wine
Branch: master
Commit: e9693d627295280ee9f622588522b2189178be8b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e9693d627295280ee9f622588522b2189178be8b
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Thu Feb 4 12:52:57 2010 -0500
richedit: Removed unused local variable yStart.
---
dlls/riched20/wrap.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/dlls/riched20/wrap.c b/dlls/riched20/wrap.c
index 00229b2..75f47a2 100644
--- a/dlls/riched20/wrap.c
+++ b/dlls/riched20/wrap.c
@@ -580,7 +580,6 @@ BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor)
ME_DisplayItem *item;
ME_Context c;
BOOL bModified = FALSE;
- int yStart = -1;
int totalWidth = 0;
ME_InitContext(&c, editor, ITextHost_TxGetDC(editor->texthost));
@@ -598,11 +597,7 @@ BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor)
ME_WrapTextParagraph(&c, item);
if (bRedraw)
- {
item->member.para.nFlags |= MEPF_REPAINT;
- if (yStart == -1)
- yStart = c.pt.y;
- }
bModified = bModified | bRedraw;
More information about the wine-cvs
mailing list