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:
parent
cfa808f80a
commit
d4f1d510aa
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue