summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-12-27 19:26:34 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-12-27 19:26:34 +0100
commitb6cdb8ef25466a52336a9c6d88bf14627da8e57f (patch)
tree3823e0d57bad60d2224f8f50f34b2458176402f0
parent70a107537f7811e0be8b71fc269335cf5edf224a (diff)
Fix doxygen warnings (typos in argument names)
-rw-r--r--src/Fl_Bitmap.cxx4
-rw-r--r--src/Fl_Image.cxx2
-rw-r--r--src/Fl_SVG_Image.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx
index 8a336b31e..07db83247 100644
--- a/src/Fl_Bitmap.cxx
+++ b/src/Fl_Bitmap.cxx
@@ -38,7 +38,7 @@ void Fl_Bitmap::draw(int XP, int YP, int WP, int HP, int cx, int cy) {
constructor will not generate the bitmap to avoid illegal memory read
access and instead set \c data to NULL and \c ld to \c ERR_MEMORY_ACCESS.
\param bits bitmap data, one pixel per bit, rows are rounded to the next byte
- \param bit_length length of the \p bits array in bytes
+ \param bits_length length of the \p bits array in bytes
\param W image width in pixels
\param H image height in pixels
\see Fl_Bitmap(const char *bits, int bits_length, int W, int H),
@@ -69,7 +69,7 @@ Fl_Bitmap::Fl_Bitmap(const uchar *bits, int bits_length, int W, int H) :
constructor will not generate the bitmap to avoid illegal memory read
access and instead set \c data to NULL and \c ld to \c ERR_MEMORY_ACCESS.
\param bits bitmap data, one pixel per bit, rows are rounded to the next byte
- \param bit_length length of the \p bits array in bytes
+ \param bits_length length of the \p bits array in bytes
\param W image width in pixels
\param H image height in pixels
\see Fl_Bitmap(const uchar *bits, int bits_length, int W, int H),
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx
index 5845bc101..6abd29f9d 100644
--- a/src/Fl_Image.cxx
+++ b/src/Fl_Image.cxx
@@ -388,7 +388,7 @@ Fl_RGB_Image::Fl_RGB_Image(const uchar *bits, int W, int H, int D, int LD) :
access and instead set \c data to NULL and \c ld to \c ERR_MEMORY_ACCESS.
\param bits image data
- \param bit_length length of the \p bits array in bytes
+ \param bits_length length of the \p bits array in bytes
\param W image width in pixels
\param H image height in pixels
\param D image depth in bytes, 1 for gray scale, 2 for gray with alpha,
diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx
index 58d477e93..b988ea6a0 100644
--- a/src/Fl_SVG_Image.cxx
+++ b/src/Fl_SVG_Image.cxx
@@ -95,7 +95,7 @@ Fl_SVG_Image::Fl_SVG_Image(const char *sharedname, const char *svg_data) :
commonly used for compressed binary data, but the reader recognizes if the data
is uncompressed, and reads it as a text block.
- \param sharedname if not \c NULL, a shared image will be generated with this name
+ \param name if not \c NULL, a shared image will be generated with this name
\param svg_data a pointer to the memory location of the SVG image data
\param length of \p svg_data or \c 0 if the length is unknown. This will
protect memory outside of the \p svg_data array from illegal read