Module: wine Branch: master Commit: 566912dc3b7b20640b850ac8c0b0cfab877063b7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=566912dc3b7b20640b850ac8c0...
Author: Eric Pouech eric.pouech@orange.fr Date: Tue Jan 1 22:04:16 2008 +0100
richedit: Correctly initialize the paraformat structure.
---
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));