summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2015-06-14 17:07:31 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2015-06-14 17:07:31 +0000
commit77d272948cb98d0a0143e0dee9ec85126ab5981c (patch)
tree23505f66c32c87f72f185af3c6d9eaa8bad5bf55
parenta097978096d66e3708a1b148dd9f3f7b43d1d2dd (diff)
Minor documentation fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_BMP_Image.cxx8
-rw-r--r--src/Fl_GIF_Image.cxx16
-rw-r--r--src/Fl_PNG_Image.cxx4
-rw-r--r--src/Fl_PNM_Image.cxx12
4 files changed, 20 insertions, 20 deletions
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.
*/