Commit e9693d62 authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

richedit: Removed unused local variable yStart.

parent ba8e6f71
...@@ -580,7 +580,6 @@ BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor) ...@@ -580,7 +580,6 @@ BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor)
ME_DisplayItem *item; ME_DisplayItem *item;
ME_Context c; ME_Context c;
BOOL bModified = FALSE; BOOL bModified = FALSE;
int yStart = -1;
int totalWidth = 0; int totalWidth = 0;
ME_InitContext(&c, editor, ITextHost_TxGetDC(editor->texthost)); ME_InitContext(&c, editor, ITextHost_TxGetDC(editor->texthost));
...@@ -598,11 +597,7 @@ BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor) ...@@ -598,11 +597,7 @@ BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor)
ME_WrapTextParagraph(&c, item); ME_WrapTextParagraph(&c, item);
if (bRedraw) if (bRedraw)
{
item->member.para.nFlags |= MEPF_REPAINT; item->member.para.nFlags |= MEPF_REPAINT;
if (yStart == -1)
yStart = c.pt.y;
}
bModified = bModified | bRedraw; bModified = bModified | bRedraw;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment