riched20: Don't calculate the para numbering data if numbering is disabled.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cfeb4358b5
commit
ebe31c7919
|
@ -401,6 +401,7 @@ void para_num_init( ME_Context *c, ME_Paragraph *para )
|
|||
static const WCHAR spaceW[] = {' ', 0};
|
||||
SIZE sz;
|
||||
|
||||
if (!para->fmt.wNumbering) return;
|
||||
if (para->para_num.style && para->para_num.text) return;
|
||||
|
||||
if (!para->para_num.style)
|
||||
|
|
Loading…
Reference in New Issue