Commit d4f1d510 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winebrowser: Use the ARRAY_SIZE() macro.

parent cfa808f8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment