From 4f38c2c1c9b7929e8f595c16c1a085d1179ce2d2 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 9 Jun 2006 18:44:50 +0000 Subject: [PATCH] Fixing the fix: restored the FL_KEYUP behavior of WIN32 before the NumLock fix. Now NumLock and Keyup work well. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 401c1b7a91..6e380eb6f0 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -885,7 +885,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar break; } } - } else { + } else if ((lParam & (1<<31))==0){ buffer[0] = 0; Fl::e_length = 0; }