Module: wine Branch: master Commit: f8cb15b13afd941e2c9dbf11dbe62f58a7cc35fc URL: https://gitlab.winehq.org/wine/wine/-/commit/f8cb15b13afd941e2c9dbf11dbe62f5...
Author: Alex Henrie alexhenrie24@gmail.com Date: Thu Aug 17 20:08:42 2023 -0600
mshtml: Define skip_prefix without using a magic number.
---
dlls/mshtml/omnavigator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mshtml/omnavigator.c b/dlls/mshtml/omnavigator.c index 75803b5c28b..e830ab33a33 100644 --- a/dlls/mshtml/omnavigator.c +++ b/dlls/mshtml/omnavigator.c @@ -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);