summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Image.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx
index 0142d209d..3678d45da 100644
--- a/src/Fl_Image.cxx
+++ b/src/Fl_Image.cxx
@@ -257,8 +257,6 @@ Fl_RGB_Scaling Fl_Image::RGB_scaling() {
// set the drawing size of the image to the size of the box keeping its aspect ratio
img->scale(b->w(), b->h());
b->image(img); // use the image as the box image
- // the image is to be drawn centered in the box
- b->align(FL_ALIGN_INSIDE | FL_ALIGN_CENTER | FL_ALIGN_CLIP);
\endcode
*/
void Fl_Image::scale(int width, int height, int proportional, int can_expand)