diff --git a/src/fl_read_image.cxx b/src/fl_read_image.cxx index c3357b14d..061ccc446 100644 --- a/src/fl_read_image.cxx +++ b/src/fl_read_image.cxx @@ -29,7 +29,7 @@ \returns pointer to pixel buffer, or NULL if allocation failed. The \p p argument points to a buffer that can hold the image and must - be at least \p W*H*3 bytes when reading RGB images, or \p W*H*4 bytes + be at least \p w*h*3 bytes when reading RGB images, or \p w*h*4 bytes when reading RGBA images. If NULL, fl_read_image() will create an array of the proper size which can be freed using delete[].