summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLauri Kasanen <cand@gmx.com>2014-10-28 15:33:17 +0000
committerLauri Kasanen <cand@gmx.com>2014-10-28 15:33:17 +0000
commit6be263865cbe4c447f39c06c9eb26646bd685b77 (patch)
treea6e8a5f35c94f02e0357938382b4f6d2517886af /src
parenta11d067d687d3628ae2b5845fee96a8e4273b8ad (diff)
Update the default word detection to stop for /\&
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10402 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Input_.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx
index 1dd104fc9..f7d739889 100644
--- a/src/Fl_Input_.cxx
+++ b/src/Fl_Input_.cxx
@@ -422,7 +422,7 @@ void Fl_Input_::drawtext(int X, int Y, int W, int H) {
\todo This function is not UTF-8-aware.
*/
static int isword(char c) {
- return (c&128 || isalnum(c) || strchr("#%&-/@\\_~", c));
+ return (c&128 || isalnum(c) || strchr("#%-@_~", c));
}
/**