mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 00:18:21 +00:00
shell32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f2c0d96bb7
commit
640fe968cc
|
@ -823,7 +823,7 @@ static unsigned dde_connect(const WCHAR* key, const WCHAR* start, WCHAR* ddeexec
|
|||
{
|
||||
WCHAR command[1024], fullpath[MAX_PATH];
|
||||
static const WCHAR wSo[] = { '.','s','o',0 };
|
||||
int sizeSo = sizeof(wSo)/sizeof(WCHAR);
|
||||
int sizeSo = ARRAY_SIZE(wSo);
|
||||
LPWSTR ptr = NULL;
|
||||
DWORD ret = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue