riched20: Remove typo (stray address of operator).

Michael Stefaniuc mstefani at redhat.de
Fri Jan 16 09:29:33 CST 2009


This fixes also a warning:
dlls/riched20/para.c:590: warning: assignment from incompatible pointer type
---
 dlls/riched20/para.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/riched20/para.c b/dlls/riched20/para.c
index ecc89d3..00d81a2 100644
--- a/dlls/riched20/para.c
+++ b/dlls/riched20/para.c
@@ -587,7 +587,7 @@ void ME_GetSelectionParaFormat(ME_TextEditor *editor, PARAFORMAT2 *pFmt)
   while (para != para_end)
   {
     para = para->member.para.next_para;
-    curFmt = &para->member.para.pFmt;
+    curFmt = para->member.para.pFmt;
 
 #define CHECK_FIELD(m, f) \
     if (pFmt->f != curFmt->f) pFmt->dwMask &= ~(m);
-- 
1.6.0.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090116/21e2e3c7/attachment.pgp 


More information about the wine-patches mailing list