From 07c4dc461ef52f1335795971ba1c194fbdb2bc8c Mon Sep 17 00:00:00 2001 From: Krzysztof Foltman Date: Thu, 13 Oct 2005 13:44:14 +0000 Subject: [PATCH] Fix unnecessary (and harmful) repeated statement. --- dlls/riched20/editor.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index b572d370ec6..2fa0da24f43 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -1734,7 +1734,6 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP pt.x = 0; pt.y = editor->pBuffer->pLast->member.para.nYPos; } - pt.y += ME_GetParagraph(pRun)->member.para.nYPos; if (wParam >= 0x40000) { *(POINTL *)wParam = pt; }