diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-06-09 18:44:50 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-06-09 18:44:50 +0000 |
| commit | 4f38c2c1c9b7929e8f595c16c1a085d1179ce2d2 (patch) | |
| tree | 6f7b06aa184786b4474c87c4bbfe823962bbc493 /src | |
| parent | 30d8dc5eeb1831254ae8664ae872a9506614695e (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 401c1b7a9..6e380eb6f 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; } |
