X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwinboard.c;h=9782495fb9ffe9da206fc1a0008b4befa76b1d4c;hb=845265f0dd9b60782b50d05779d69dbef6dcc294;hp=31afd62e1bda5325169e36ab07920a3568aea65a;hpb=f9cda3698df8b588c7d2174bc7c5effb919c34bc;p=xboard.git diff --git a/winboard/winboard.c b/winboard/winboard.c index 31afd62..9782495 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -4214,7 +4214,7 @@ BOOL DrawPositionNeedsFullRepaint() but animation is fast enough that it's difficult to notice. */ if( animInfo.piece == EmptySquare ) { - if( (appData.highlightLastMove || appData.highlightDragging) && IsDrawArrowEnabled() && HasHighlightInfo() ) { + if( (appData.highlightLastMove || appData.highlightDragging) && IsDrawArrowEnabled() /*&& HasHighlightInfo()*/ ) { result = TRUE; } } @@ -4847,7 +4847,7 @@ PaintProc(HWND hwnd) * subtracted from x. */ int EventToSquare(x, limit) - int x; + int x, limit; { if (x <= 0) return -2; @@ -5428,7 +5428,7 @@ WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) JAWS_ALT_INTERCEPT - if (appData.icsActive && (char)wParam > ' ' && !((char)wParam >= '1' && (char)wParam <= '9')) { + if (appData.icsActive && ((char)wParam == '\r' || (char)wParam > ' ' && !((char)wParam >= '1' && (char)wParam <= '9'))) { // [HGM] movenum: for non-zero digits we always do type-in dialog HWND h = GetDlgItem(hwndConsole, OPT_ConsoleInput); if (IsIconic(hwndConsole)) ShowWindow(hwndConsole, SW_RESTORE);