From 6be263865cbe4c447f39c06c9eb26646bd685b77 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 28 Oct 2014 15:33:17 +0000 Subject: 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 --- src/Fl_Input_.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); } /** -- cgit v1.2.3