comdlg32: Turn several variables into static constants.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2018-12-03 21:42:49 -07:00 committed by Alexandre Julliard
parent baf6adfef7
commit fedd1cb3d3
1 changed files with 3 additions and 3 deletions

View File

@ -2618,9 +2618,9 @@ static WCHAR get_decimal_sep(void)
static void size2str(const pagesetup_data *data, DWORD size, LPWSTR strout)
{
WCHAR integer_fmt[] = {'%','d',0};
WCHAR hundredths_fmt[] = {'%','d','%','c','%','0','2','d',0};
WCHAR thousandths_fmt[] = {'%','d','%','c','%','0','3','d',0};
static const WCHAR integer_fmt[] = {'%','d',0};
static const WCHAR hundredths_fmt[] = {'%','d','%','c','%','0','2','d',0};
static const WCHAR thousandths_fmt[] = {'%','d','%','c','%','0','3','d',0};
/* FIXME use LOCALE_SDECIMAL when the edit parsing code can cope */