summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Input.cxx2
-rw-r--r--src/Fl_win32.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx
index 205babaf3..d6ebd0415 100644
--- a/src/Fl_Input.cxx
+++ b/src/Fl_Input.cxx
@@ -313,7 +313,7 @@ int Fl_Input::handle_key() {
// Insert characters into numeric fields after checking for legality:
if (input_type() == FL_FLOAT_INPUT || input_type() == FL_INT_INPUT) {
- Fl::compose_reset(); // ignore any foreign letters...
+ Fl::compose_reset(); // ignore any composed characters...
// initialize the list of legal characters inside a floating point number
#if defined(HAVE_LOCALECONV) && defined(HAVE_LOCALE_H)
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index c96da78db..9c5e37131 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -1230,7 +1230,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
if (GetKeyState(VK_SHIFT)&~1) state |= FL_SHIFT;
if (GetKeyState(VK_CAPITAL)) state |= FL_CAPS_LOCK;
if (GetKeyState(VK_CONTROL)&~1) state |= FL_CTRL;
- // Alt gets reported for the Alt-GR switch on foreign keyboards.
+ // Alt gets reported for the Alt-GR switch on non-English keyboards.
// so we need to check the event as well to get it right:
if ((lParam&(1<<29)) //same as GetKeyState(VK_MENU)
&& uMsg != WM_CHAR) state |= FL_ALT;