[PATCH 10/24] [RichEdit]: correctly initialize the paraformat structure
Eric Pouech
eric.pouech at orange.fr
Tue Jan 1 15:04:16 CST 2008
A+
---
dlls/riched20/para.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/riched20/para.c b/dlls/riched20/para.c
index 5f93653..6ff8e73 100644
--- a/dlls/riched20/para.c
+++ b/dlls/riched20/para.c
@@ -61,6 +61,7 @@ void ME_MakeFirstParagraph(HDC hDC, ME_TextBuffer *text)
ZeroMemory(&fmt, sizeof(fmt));
fmt.cbSize = sizeof(fmt);
fmt.dwMask = PFM_ALIGNMENT | PFM_OFFSET | PFM_STARTINDENT | PFM_RIGHTINDENT | PFM_TABSTOPS;
+ fmt.wAlignment = PFA_LEFT;
CopyMemory(para->member.para.pFmt, &fmt, sizeof(PARAFORMAT2));
More information about the wine-patches
mailing list