diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-29 00:24:43 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-29 00:24:43 +0000 |
| commit | 4b23d4c6d59bb0461e0f1b44c88c489df6ab7a31 (patch) | |
| tree | 7ec64a2336791e41a68a79b3947aafab38a4113f /src/Fl_Shared_Image.cxx | |
| parent | 79d6a32be98d8809c915fd4914cb57a5730202b3 (diff) | |
VC++ fixes, plus add new tiled_image project file.
Use the plastic box type for the tiled_image demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Shared_Image.cxx')
| -rw-r--r-- | src/Fl_Shared_Image.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Shared_Image.cxx b/src/Fl_Shared_Image.cxx index 996ea39ff..8e911fc5a 100644 --- a/src/Fl_Shared_Image.cxx +++ b/src/Fl_Shared_Image.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Shared_Image.cxx,v 1.23.2.2 2001/11/24 18:07:57 easysw Exp $" +// "$Id: Fl_Shared_Image.cxx,v 1.23.2.3 2001/11/29 00:24:43 easysw Exp $" // // Shared image code for the Fast Light Tool Kit (FLTK). // @@ -157,7 +157,7 @@ Fl_Shared_Image::update() { // Fl_Shared_Image::~Fl_Shared_Image() { - if (name_) delete name_; + if (name_) delete[] (char *)name_; if (alloc_image_) delete image_; } @@ -376,5 +376,5 @@ Fl_Shared_Image::get(const char *n, int W, int H) { // -// End of "$Id: Fl_Shared_Image.cxx,v 1.23.2.2 2001/11/24 18:07:57 easysw Exp $". +// End of "$Id: Fl_Shared_Image.cxx,v 1.23.2.3 2001/11/29 00:24:43 easysw Exp $". // |
