mshtml: Define skip_prefix without using a magic number.
This commit is contained in:
parent
e8b8a80b3c
commit
f8cb15b13a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue