diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index b7f7aa9726..3c8dddc363 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -1687,8 +1687,8 @@ void LLWindowWin32::hideCursorUntilMouseMove() { // Respect "Hide pointer while typing" Windows preference setting //if (!mHideCursorPermanent) - BOOL mouse_manish = FALSE; - if (!mHideCursorPermanent && (!SystemParametersInfo(SPI_GETMOUSEVANISH, 0, &mouse_manish, 0) || mouse_manish)) + BOOL mouse_vanish = FALSE; + if (!mHideCursorPermanent && (!SystemParametersInfo(SPI_GETMOUSEVANISH, 0, &mouse_vanish, 0) || mouse_vanish)) // { hideCursor();