infoviewer_bb.cpp: use calculated icon space intstead static value

This commit is contained in:
2021-02-07 17:18:35 +01:00
parent 7196f58f41
commit 7723071b00

View File

@@ -787,7 +787,7 @@ void CInfoViewerBB::paint_ca_icon(int caid, const char *icon, int &icon_space_of
} else { } else {
icon_space_offset += icon_sizeW[icon_map[caid].first]; icon_space_offset += icon_sizeW[icon_map[caid].first];
px = endx - icon_space_offset; px = endx - icon_space_offset;
icon_space_offset += 4; icon_space_offset += icon_space;
} }
if (px) { if (px) {