diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 9d57eac992..8d7c4fa43e 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -1559,6 +1559,7 @@ public: } height++; str = tbl->legend; + if (i == SMT_CONTOUR) SetDParam(0, tbl->height * TILE_HEIGHT_STEP); } min_width = std::max(GetStringBoundingBox(str).width, min_width); }