23 Jul
2018
23 Jul
'18
10:01 p.m.
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> --- dlls/browseui/progressdlg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/browseui/progressdlg.c b/dlls/browseui/progressdlg.c index 7cba7d6464..2355b0cfa0 100644 --- a/dlls/browseui/progressdlg.c +++ b/dlls/browseui/progressdlg.c @@ -114,7 +114,7 @@ static LPWSTR load_string(HINSTANCE hInstance, UINT uiResourceId) WCHAR string[256]; LPWSTR ret; - LoadStringW(hInstance, uiResourceId, string, sizeof(string)/sizeof(string[0])); + LoadStringW(hInstance, uiResourceId, string, ARRAY_SIZE(string)); ret = HeapAlloc(GetProcessHeap(), 0, (strlenW(string) + 1) * sizeof(WCHAR)); strcpyW(ret, string); return ret; -- 2.14.4