diff --git a/client/citydlg.cpp b/client/citydlg.cpp
index 7efd074fdc..8e56d80e2a 100644
--- a/client/citydlg.cpp
+++ b/client/citydlg.cpp
@@ -750,38 +750,43 @@ void city_info::update_labels(struct city *pcity)
if (pcity->surplus[O_GOLD] < 0) {
m_gold->setText(QString::asprintf(
- "%3d (%+4d)",
+ "%3d (%+4d)",
pcity->prod[O_GOLD] + pcity->waste[O_GOLD], pcity->surplus[O_GOLD]));
m_gold->setToolTip(get_city_dialog_output_text(pcity, O_GOLD));
} else {
m_gold->setText(QString::asprintf(
- "%3d (%+4d)", pcity->prod[O_GOLD] + pcity->waste[O_GOLD],
- pcity->surplus[O_GOLD]));
+ "%3d (%+4d)",
+ pcity->prod[O_GOLD] + pcity->waste[O_GOLD], pcity->surplus[O_GOLD]));
m_gold->setToolTip(get_city_dialog_output_text(pcity, O_GOLD));
}
if (pcity->surplus[O_LUXURY] < 0) {
m_luxury->setText(
- QString::asprintf("%3d (%+4d)",
+ QString::asprintf("%3d (%+4d)",
pcity->prod[O_LUXURY] + pcity->waste[O_LUXURY],
pcity->surplus[O_LUXURY]));
m_luxury->setToolTip(get_city_dialog_output_text(pcity, O_LUXURY));
} else {
m_luxury->setText(QString::asprintf(
- "%3d (%+4d)", pcity->prod[O_LUXURY] + pcity->waste[O_LUXURY],
+ "%3d (%+4d)",
+ pcity->prod[O_LUXURY] + pcity->waste[O_LUXURY],
pcity->surplus[O_LUXURY]));
m_luxury->setToolTip(get_city_dialog_output_text(pcity, O_LUXURY));
}
if (pcity->surplus[O_SCIENCE] < 0) {
m_science->setText(
- QString::asprintf("%3d (%+4d)",
+ QString::asprintf("%3d (%+4d)",
pcity->prod[O_SCIENCE] + pcity->waste[O_SCIENCE],
pcity->surplus[O_SCIENCE]));
m_science->setToolTip(get_city_dialog_output_text(pcity, O_SCIENCE));
} else {
m_science->setText(QString::asprintf(
- "%3d (%+4d)", pcity->prod[O_SCIENCE] + pcity->waste[O_SCIENCE],
+ "%3d (%+4d)",
+ pcity->prod[O_SCIENCE] + pcity->waste[O_SCIENCE],
pcity->surplus[O_SCIENCE]));
m_science->setToolTip(get_city_dialog_output_text(pcity, O_SCIENCE));
}