1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

mshtml: Define skip_prefix without using a magic number.

This commit is contained in:
Alex Henrie 2023-08-17 20:08:42 -06:00 committed by Alexandre Julliard
parent e8b8a80b3c
commit f8cb15b13a

View file

@ -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);