summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-20 07:19:19 +0000
committerManolo Gouy <Manolo>2016-04-20 07:19:19 +0000
commit163c65dc6fb7b776b118c53e93c6a472cd198214 (patch)
tree123f06659438f61f3313881cea4ae7194942cbde
parentd57f762715f1a949b7a0e6f022ff4e6f355ec088 (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
-rw-r--r--FL/Fl.H2
-rw-r--r--FL/fl_ask.H2
-rw-r--r--src/Fl_Input.cxx2
-rw-r--r--src/Fl_win32.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index b8f606d15..0e963e501 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -52,7 +52,7 @@ struct Fl_Label;
class Fl_Screen_Driver;
class Fl_System_Driver;
-// Pointers you can use to change FLTK to a foreign language.
+// Pointers you can use to change FLTK to another language.
// Note: Similar pointers are defined in FL/fl_ask.H and src/fl_ask.cxx
extern FL_EXPORT const char* fl_local_alt; ///< string pointer used in shortcuts, you can change it to another language
diff --git a/FL/fl_ask.H b/FL/fl_ask.H
index ad1b7b236..63fe87435 100644
--- a/FL/fl_ask.H
+++ b/FL/fl_ask.H
@@ -69,7 +69,7 @@ FL_EXPORT int fl_message_hotspot(void);
FL_EXPORT void fl_message_title(const char *title);
FL_EXPORT void fl_message_title_default(const char *title);
-// pointers you can use to change FLTK to a foreign language:
+// pointers you can use to change FLTK to another language:
extern FL_EXPORT const char* fl_no;
extern FL_EXPORT const char* fl_yes;
extern FL_EXPORT const char* fl_ok;
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;