diff --git a/dlls/oleaut32/oleaut.c b/dlls/oleaut32/oleaut.c index 455fa7b5c13..a8748219912 100644 --- a/dlls/oleaut32/oleaut.c +++ b/dlls/oleaut32/oleaut.c @@ -667,7 +667,7 @@ HRESULT WINAPI OleTranslateColor( /* * Validate GetSysColor index. */ - if ((index < COLOR_SCROLLBAR) || (index > COLOR_GRADIENTINACTIVECAPTION)) + if ((index < COLOR_SCROLLBAR) || (index > COLOR_MENUBAR)) return E_INVALIDARG; *pColorRef = GetSysColor(index);