diff --git a/src/modules/ZoomIt/ZoomIt/Zoomit.cpp b/src/modules/ZoomIt/ZoomIt/Zoomit.cpp index 9e1a64d814..9664b70f4c 100644 --- a/src/modules/ZoomIt/ZoomIt/Zoomit.cpp +++ b/src/modules/ZoomIt/ZoomIt/Zoomit.cpp @@ -7296,7 +7296,8 @@ LRESULT APIENTRY MainWndProc( case WM_IME_CHAR: case WM_CHAR: - if( (g_TypeMode != TypeModeOff) && iswprint(static_cast(wParam)) || (static_cast(wParam) == L'&')) { + if( (g_TypeMode != TypeModeOff) && + (iswprint(static_cast(wParam)) || (static_cast(wParam) == L'&')) ) { g_HaveTyped = TRUE; TCHAR vKey = static_cast(wParam); @@ -7404,9 +7405,8 @@ LRESULT APIENTRY MainWndProc( case WM_KEYDOWN: - if( (g_TypeMode != TypeModeOff) && g_HaveTyped && static_cast(wParam) != VK_UP && static_cast(wParam) != VK_DOWN && - (isprint( static_cast(wParam)) || - wParam == VK_RETURN || wParam == VK_DELETE || wParam == VK_BACK )) { + if( (g_TypeMode != TypeModeOff) && g_HaveTyped && + (wParam == VK_RETURN || wParam == VK_DELETE || wParam == VK_BACK) ) { if( wParam == VK_RETURN ) {