mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:11:34 +00:00
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};
|
static const WCHAR spaceW[] = {' ', 0};
|
||||||
SIZE sz;
|
SIZE sz;
|
||||||
|
|
||||||
|
if (!para->fmt.wNumbering) return;
|
||||||
if (para->para_num.style && para->para_num.text) return;
|
if (para->para_num.style && para->para_num.text) return;
|
||||||
|
|
||||||
if (!para->para_num.style)
|
if (!para->para_num.style)
|
||||||
|
|
Loading…
Reference in a new issue