From 516ed80d974a63dcbd13799b6077875f64056359 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 4 Mar 1999 18:09:18 +0000 Subject: Added "buffer=0" in constructor to avoid purify errors. git-svn-id: file:///fltk/svn/fltk/trunk@359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Input_.cxx | 5 +++-- 1 file 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 $". // -- cgit v1.2.3