summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_win32.cxx2
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;
}