winebrowser: 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:
Michael Stefaniuc 2018-08-10 12:27:53 +02:00 committed by Alexandre Julliard
parent cfa808f80a
commit d4f1d510aa
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ static WCHAR *encode_unix_path(const char *src)
const char safe_chars[] = "/-_.~@&=+$,:";
const char hex_digits[] = "0123456789ABCDEF";
const WCHAR schema[] = {'f','i','l','e',':','/','/',0};
int len = sizeof(schema)/sizeof(schema[0]);
int len = ARRAY_SIZE(schema);
tmp_src = src;