summaryrefslogtreecommitdiff
path: root/src/Fl_cutpaste.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_cutpaste.cxx')
-rw-r--r--src/Fl_cutpaste.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_cutpaste.cxx b/src/Fl_cutpaste.cxx
index abbffac8b..9aed5b426 100644
--- a/src/Fl_cutpaste.cxx
+++ b/src/Fl_cutpaste.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_cutpaste.cxx,v 1.5 1999/01/07 19:17:31 mike Exp $"
+// "$Id: Fl_cutpaste.cxx,v 1.6 1999/03/02 07:03:15 bill Exp $"
//
// Cut/paste code for the Fast Light Tool Kit (FLTK).
//
@@ -124,7 +124,7 @@ void Fl::paste(Fl_Widget &receiver) {
// call this when you create a selection:
void Fl::selection(Fl_Widget &owner, const char *stuff, int len) {
- if (!stuff || len<=0) return;
+ if (!stuff || len<0) return;
if (len+1 > selection_buffer_length) {
delete[] selection_buffer;
selection_buffer = new char[len+100];
@@ -149,5 +149,5 @@ void Fl::selection(Fl_Widget &owner, const char *stuff, int len) {
#endif
//
-// End of "$Id: Fl_cutpaste.cxx,v 1.5 1999/01/07 19:17:31 mike Exp $".
+// End of "$Id: Fl_cutpaste.cxx,v 1.6 1999/03/02 07:03:15 bill Exp $".
//