diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-01-05 15:51:47 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-01-05 15:51:47 +0100 |
| commit | d2e207754449b2cd8aeb18bee0f6748579c7c8d9 (patch) | |
| tree | 7b44bad93b8735fdd77f875756c68bbf9ccb3fac /src/Fl_BMP_Image.cxx | |
| parent | 97e30260ec3f7e0ca7de38617eb3766c3cbff9b5 (diff) | |
Fix Doxygen description of the constructors.
Diffstat (limited to 'src/Fl_BMP_Image.cxx')
| -rw-r--r-- | src/Fl_BMP_Image.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Fl_BMP_Image.cxx b/src/Fl_BMP_Image.cxx index b910d91cc..11d4890f1 100644 --- a/src/Fl_BMP_Image.cxx +++ b/src/Fl_BMP_Image.cxx @@ -160,11 +160,11 @@ private: BMP format could not be decoded, and ERR_NO_IMAGE if the image could not be loaded for another reason. */ -Fl_BMP_Image::Fl_BMP_Image(const char *bmp) // I - File to read +Fl_BMP_Image::Fl_BMP_Image(const char *filename) // I - File to read : Fl_RGB_Image(0,0,0) { BMPReader f; - if (f.open(bmp)==-1) { + if (f.open(filename)==-1) { ld(ERR_FORMAT); } else { read(f); @@ -174,16 +174,16 @@ Fl_BMP_Image::Fl_BMP_Image(const char *bmp) // I - File to read /** The constructor loads the named BMP image from the given memory address. - \param[in] bmp the name of the bitmap + \param[in] imagename the name of the bitmap \param[in] data a pointer to the BMP data in memory. There is no checking for buffer overruns - \see Fl_BMP_Image::Fl_BMP_Image(const char *bmp) + \see Fl_BMP_Image::Fl_BMP_Image(const char *filename) */ -Fl_BMP_Image::Fl_BMP_Image(const char *bmp, const unsigned char *data) +Fl_BMP_Image::Fl_BMP_Image(const char *imagename, const unsigned char *data) : Fl_RGB_Image(0,0,0) { BMPReader d; - if (d.open(bmp, data)==-1) { + if (d.open(imagename, data)==-1) { ld(ERR_FORMAT); } else { read(d); |
