diff --git a/rtgui/histogrampanel.cc b/rtgui/histogrampanel.cc index 929de21cb..5cbf3d655 100644 --- a/rtgui/histogrampanel.cc +++ b/rtgui/histogrampanel.cc @@ -731,7 +731,7 @@ void HistogramArea::get_preferred_height_for_width_vfunc (int width, int &minimu gHeight = 100; }*/ - inf gHeight = width; // aspect ratio 1:1 should fit on most monitors + int gHeight = width; // aspect ratio 1:1 should fit on most monitors if (gHeight < 100) { gHeight = 100; }