town_gui.c
changeset 2549 f1d3b383d557
parent 2548 97ada3bd2702
child 2630 35249d2ded3e
--- a/town_gui.c	Sat Oct 22 06:39:32 2005 +0000
+++ b/town_gui.c	Sun Oct 23 13:04:44 2005 +0000
@@ -455,7 +455,7 @@
 
 				y += 10;
 				i++;
-				if (++n == w->vscroll.cap) { break;} // max number of towns in 1 window
+				if (++n == w->vscroll.cap) break; // max number of towns in 1 window
 			}
 			SetDParam(0, GetWorldPopulation());
 			DrawString(3, w->height - 12 + 2, STR_TOWN_POPULATION, 0);
@@ -479,11 +479,11 @@
 		case 5: { /* Click on Town Matrix */
 			uint16 id_v = (e->click.pt.y - 28) / 10;
 
-			if (id_v >= w->vscroll.cap) { return;} // click out of bounds
+			if (id_v >= w->vscroll.cap) return; // click out of bounds
 
 			id_v += w->vscroll.pos;
 
-			if (id_v >= _num_town_sort) { return;} // click out of town bounds
+			if (id_v >= _num_town_sort) return; // click out of town bounds
 
 			{
 				Town *t = GetTown(_town_sort[id_v]);