diff --git a/src/Fl_BMP_Image.cxx b/src/Fl_BMP_Image.cxx index be291b616..bcbac4ebb 100644 --- a/src/Fl_BMP_Image.cxx +++ b/src/Fl_BMP_Image.cxx @@ -54,14 +54,14 @@ static unsigned short read_word(FILE *fp); static unsigned int read_dword(FILE *fp); -/** +/** The constructor loads the named BMP image from the given bmp filename. - The inherited destructor frees all memory and server resources that are - used by the image. + The destructor frees all memory and server resources that are used by + the image. Use Fl_Image::fail() to check if Fl_BMP_Image failed to load. fail() returns - ERR_FILE_ACCESS if the file could not bo opened or read, ERR_FORMAT if the + ERR_FILE_ACCESS if the file could not be opened or read, ERR_FORMAT if the BMP format could not be decoded, and ERR_NO_IMAGE if the image could not be loaded for another reason. */ diff --git a/src/Fl_GIF_Image.cxx b/src/Fl_GIF_Image.cxx index b541979b4..682d251df 100644 --- a/src/Fl_GIF_Image.cxx +++ b/src/Fl_GIF_Image.cxx @@ -3,7 +3,7 @@ // // Fl_GIF_Image routines. // -// Copyright 1997-2010 by Bill Spitzak and others. +// Copyright 1997-2015 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -70,14 +70,14 @@ typedef unsigned char uchar; #define NEXTBYTE (uchar)getc(GifFile) #define GETSHORT(var) var = NEXTBYTE; var += NEXTBYTE << 8 -/** +/** The constructor loads the named GIF image. - - The inherited destructor free all memory and server resources that are used - by the image. - - Use Fl_Image::fail() to check if Fl_BMP_Image failed to load. fail() returns - ERR_FILE_ACCESS if the file could not bo opened or read, ERR_FORMAT if the + + The destructor frees all memory and server resources that are used by + the image. + + Use Fl_Image::fail() to check if Fl_GIF_Image failed to load. fail() returns + ERR_FILE_ACCESS if the file could not be opened or read, ERR_FORMAT if the GIF format could not be decoded, and ERR_NO_IMAGE if the image could not be loaded for another reason. */ diff --git a/src/Fl_PNG_Image.cxx b/src/Fl_PNG_Image.cxx index 74d32da7d..0183e82a5 100644 --- a/src/Fl_PNG_Image.cxx +++ b/src/Fl_PNG_Image.cxx @@ -76,8 +76,8 @@ extern "C" { The destructor frees all memory and server resources that are used by the image. - Use Fl_Image::fail() to check if Fl_BMP_Image failed to load. fail() returns - ERR_FILE_ACCESS if the file could not bo opened or read, ERR_FORMAT if the + Use Fl_Image::fail() to check if Fl_PNG_Image failed to load. fail() returns + ERR_FILE_ACCESS if the file could not be opened or read, ERR_FORMAT if the PNG format could not be decoded, and ERR_NO_IMAGE if the image could not be loaded for another reason. diff --git a/src/Fl_PNM_Image.cxx b/src/Fl_PNM_Image.cxx index 40073b26a..76fcac89c 100644 --- a/src/Fl_PNM_Image.cxx +++ b/src/Fl_PNM_Image.cxx @@ -38,14 +38,14 @@ // -/** +/** The constructor loads the named PNM image. - - The inherited destructor free all memory and server resources that are used by + + The destructor frees all memory and server resources that are used by the image. - - Use Fl_Image::fail() to check if Fl_BMP_Image failed to load. fail() returns - ERR_FILE_ACCESS if the file could not bo opened or read, ERR_FORMAT if the + + Use Fl_Image::fail() to check if Fl_PNM_Image failed to load. fail() returns + ERR_FILE_ACCESS if the file could not be opened or read, ERR_FORMAT if the PNM format could not be decoded, and ERR_NO_IMAGE if the image could not be loaded for another reason. */