Added "buffer=0" in constructor to avoid purify errors.

git-svn-id: file:///fltk/svn/fltk/trunk@359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 1999-03-04 18:09:18 +00:00
parent 20cba9fc64
commit 516ed80d97

View File

@ -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 $".
//