Wasn't initializing "image" member of base image data.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
8310941985
commit
8b52561ca3
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Help_View.cxx,v 1.1.2.1 2001/09/29 14:38:59 easysw Exp $"
|
||||
// "$Id: Fl_Help_View.cxx,v 1.1.2.2 2001/10/01 19:33:22 easysw Exp $"
|
||||
//
|
||||
// Fl_Help_View widget routines.
|
||||
//
|
||||
@ -612,6 +612,7 @@ Fl_Help_View::add_image(const char *name, // I - Path of image
|
||||
|
||||
img->wattr[0] = '\0';
|
||||
img->hattr[0] = '\0';
|
||||
img->image = 0;
|
||||
|
||||
nimage_ ++;
|
||||
|
||||
@ -3580,5 +3581,5 @@ scrollbar_callback(Fl_Widget *s, void *)
|
||||
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Help_View.cxx,v 1.1.2.1 2001/09/29 14:38:59 easysw Exp $".
|
||||
// End of "$Id: Fl_Help_View.cxx,v 1.1.2.2 2001/10/01 19:33:22 easysw Exp $".
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user