diff options
Diffstat (limited to 'src/Fl_JPEG_Image.cxx')
| -rw-r--r-- | src/Fl_JPEG_Image.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx index 098651e34..8c8b762d1 100644 --- a/src/Fl_JPEG_Image.cxx +++ b/src/Fl_JPEG_Image.cxx @@ -89,7 +89,7 @@ extern "C" { by the image. Use Fl_Image::fail() to check if Fl_JPEG_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 JPEG format could not be decoded, and ERR_NO_IMAGE if the image could not be loaded for another reason. If the image has loaded correctly, w(), h(), and d() should return values greater than zero. @@ -283,7 +283,7 @@ static void jpeg_mem_src(j_decompress_ptr cinfo, const unsigned char *data) by the image. Use Fl_Image::fail() to check if Fl_JPEG_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 JPEG format could not be decoded, and ERR_NO_IMAGE if the image could not be loaded for another reason. If the image has loaded correctly, w(), h(), and d() should return values greater than zero. |
