Commit f8cb15b1 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

mshtml: Define skip_prefix without using a magic number.

parent e8b8a80b
......@@ -1234,7 +1234,7 @@ static HRESULT WINAPI OmNavigator_get_appVersion(IOmNavigator *iface, BSTR *p)
WCHAR *user_agent;
unsigned len;
HRESULT hres;
const unsigned skip_prefix = 8; /* strlen("Mozilla/") */
const unsigned skip_prefix = strlen("Mozilla/");
TRACE("(%p)->(%p)\n", This, p);
......
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