richedit: Correctly initialize the paraformat structure.

This commit is contained in:
Eric Pouech 2008-01-01 22:04:16 +01:00 committed by Alexandre Julliard
parent 0549b9009a
commit 566912dc3b
1 changed files with 1 additions and 0 deletions

View File

@ -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));