diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-04-12 19:16:19 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-04-12 19:16:19 +0000 |
| commit | 232ef4e1599b22e6d1426147ea594193d64f01a1 (patch) | |
| tree | a354473490f0059350b0687ffd658a90f71a0cfd /src/Fl_Help_View.cxx | |
| parent | 97b806e5800da62734ba2913881d96a353e3e313 (diff) | |
Updated 1.3 with changes from 1.1.9
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Help_View.cxx')
| -rw-r--r-- | src/Fl_Help_View.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 192b35893..fae224401 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -2872,7 +2872,7 @@ void Fl_Help_View::end_selection(int clipboard) *d++ = *src++; } c = src[-1]; - p = isspace(c) ? ' ' : c; + p = isspace(c&255) ? ' ' : c; } continue; } @@ -2888,7 +2888,7 @@ void Fl_Help_View::end_selection(int clipboard) } int n = s-value_; if (n>selection_first && n<=selection_last) { - if (!pre && isspace(c)) c = ' '; + if (!pre && isspace(c&255)) c = ' '; if (p!=' '||c!=' ') *d++ = c; p = c; |
