summaryrefslogtreecommitdiff
path: root/src/Fl_Help_View.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Help_View.cxx')
-rw-r--r--src/Fl_Help_View.cxx4
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;