diff options
| author | Manolo Gouy <Manolo> | 2016-04-20 07:19:19 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-20 07:19:19 +0000 |
| commit | 163c65dc6fb7b776b118c53e93c6a472cd198214 (patch) | |
| tree | 123f06659438f61f3313881cea4ae7194942cbde /src | |
| parent | d57f762715f1a949b7a0e6f022ff4e6f355ec088 (diff) | |
Avoid the expression "foreign language" in comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Input.cxx | 2 | ||||
| -rw-r--r-- | src/Fl_win32.cxx | 2 |
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; |
