equal
deleted
inserted
replaced
252 SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad); |
252 SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad); |
253 } else { |
253 } else { |
254 SetTileSelectSize(1, 1); |
254 SetTileSelectSize(1, 1); |
255 } |
255 } |
256 |
256 |
257 int text_end = DrawStationCoverageAreaText(4, 50, SCT_ALL, rad) + 4; |
257 int text_end = DrawStationCoverageAreaText(4, 50, SCT_ALL, rad, false); |
258 if (text_end > w->widget[2].bottom) { |
258 text_end = DrawStationCoverageAreaText(4, text_end + 4, SCT_ALL, rad, true) + 4; |
|
259 if (text_end != w->widget[2].bottom) { |
259 SetWindowDirty(w); |
260 SetWindowDirty(w); |
260 ResizeWindowForWidget(w, 2, 0, text_end - w->widget[2].bottom); |
261 ResizeWindowForWidget(w, 2, 0, text_end - w->widget[2].bottom); |
261 SetWindowDirty(w); |
262 SetWindowDirty(w); |
262 } |
263 } |
263 |
264 |