Dylan Smith : richedit: Removed useless lines in ME_GetDefaultCharFormat.
Alexandre Julliard
julliard at winehq.org
Mon Nov 17 09:14:24 CST 2008
Module: wine
Branch: master
Commit: df6e47e3a76ee37e8eef6234f47098aa30e87564
URL: http://source.winehq.org/git/wine.git/?a=commit;h=df6e47e3a76ee37e8eef6234f47098aa30e87564
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Mon Nov 17 03:47:25 2008 -0500
richedit: Removed useless lines in ME_GetDefaultCharFormat.
---
dlls/riched20/run.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/run.c b/dlls/riched20/run.c
index bb34ad8..133219d 100644
--- a/dlls/riched20/run.c
+++ b/dlls/riched20/run.c
@@ -872,8 +872,6 @@ static void ME_GetRunCharFormat(ME_TextEditor *editor, ME_DisplayItem *run, CHAR
*/
void ME_GetDefaultCharFormat(ME_TextEditor *editor, CHARFORMAT2W *pFmt)
{
- int nFrom, nTo;
- ME_GetSelection(editor, &nFrom, &nTo);
ME_CopyCharFormat(pFmt, &editor->pBuffer->pDefaultStyle->fmt);
}
More information about the wine-cvs
mailing list