summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-03-04 18:09:18 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-03-04 18:09:18 +0000
commit516ed80d974a63dcbd13799b6077875f64056359 (patch)
tree2641e26a2b898230377c8ac33e580809269a4f47
parent20cba9fc64b4f515171ad2663d9fdb321c2cb5fc (diff)
Added "buffer=0" in constructor to avoid purify errors.
git-svn-id: file:///fltk/svn/fltk/trunk@359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Input_.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx
index 4b6da8259..0dd258fbe 100644
--- a/src/Fl_Input_.cxx
+++ b/src/Fl_Input_.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Input_.cxx,v 1.20 1999/03/02 07:03:14 bill Exp $"
+// "$Id: Fl_Input_.cxx,v 1.21 1999/03/04 18:09:18 mike Exp $"
//
// Common input widget routines for the Fast Light Tool Kit (FLTK).
//
@@ -646,6 +646,7 @@ Fl_Input_::Fl_Input_(int x, int y, int w, int h, const char* l)
cursor_color_ = FL_BLACK; // was FL_BLUE
mark_ = position_ = size_ = 0;
bufsize = 0;
+ buffer = 0;
value_ = "";
xscroll_ = yscroll_ = 0;
maximum_size_ = 32767;
@@ -733,5 +734,5 @@ Fl_Input_::~Fl_Input_() {
}
//
-// End of "$Id: Fl_Input_.cxx,v 1.20 1999/03/02 07:03:14 bill Exp $".
+// End of "$Id: Fl_Input_.cxx,v 1.21 1999/03/04 18:09:18 mike Exp $".
//