Browse Source

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
pull/168/head
Matthias Melcher 19 years ago
parent
commit
4f38c2c1c9
  1. 2
      src/Fl_win32.cxx

2
src/Fl_win32.cxx

@ -885,7 +885,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar @@ -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;
}

Loading…
Cancel
Save