diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-02-12 02:41:52 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-02-12 02:41:52 +0000 |
| commit | 80b9844b538d7218f55b1d0e02d493ed18e0c216 (patch) | |
| tree | 2b6a404d4ec1a07181bff4cc574e0762d973a04d /src/Fl_Shared_Image.cxx | |
| parent | 6492c43b4b645a44af7787363aeff8abbca0550c (diff) | |
Fix initializers and error handling.
src/Fl_JPEG_Image.cxx:
- Add custom error manager structure and update error and output
handlers so we properly handle bad JPEG files.
src/Fl_Shared_Image.cxx:
- Add initializers for num_handlers, alloc_handlers, and handlers
variables.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Shared_Image.cxx')
| -rw-r--r-- | src/Fl_Shared_Image.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Fl_Shared_Image.cxx b/src/Fl_Shared_Image.cxx index 66ff62709..c0ea07021 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.22 2004/12/03 02:51:03 easysw Exp $" +// "$Id$" // // Shared image code for the Fast Light Tool Kit (FLTK). // @@ -41,9 +41,9 @@ Fl_Shared_Image **Fl_Shared_Image::images_ = 0; // Shared images int Fl_Shared_Image::num_images_ = 0; // Number of shared images int Fl_Shared_Image::alloc_images_ = 0; // Allocated shared images -Fl_Shared_Handler *Fl_Shared_Image::handlers_; // Additional format handlers -int Fl_Shared_Image::num_handlers_; // Number of format handlers -int Fl_Shared_Image::alloc_handlers_; // Allocated format handlers +Fl_Shared_Handler *Fl_Shared_Image::handlers_ = 0;// Additional format handlers +int Fl_Shared_Image::num_handlers_ = 0; // Number of format handlers +int Fl_Shared_Image::alloc_handlers_ = 0; // Allocated format handlers // @@ -461,5 +461,5 @@ Fl_Shared_Image::remove_handler(Fl_Shared_Handler f) { // -// End of "$Id: Fl_Shared_Image.cxx,v 1.23.2.22 2004/12/03 02:51:03 easysw Exp $". +// End of "$Id$". // |
