(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too

This commit is contained in:
rubidium
2009-03-15 00:32:18 +00:00
parent d72273d1f3
commit b25a4f8231
130 changed files with 1724 additions and 1727 deletions

View File

@@ -596,7 +596,7 @@ public:
_owner_colours[OWNER_TOWN] = MKCOLOUR(0xB4B4B4B4);
_owner_colours[OWNER_NONE] = MKCOLOUR(0x54545454);
_owner_colours[OWNER_WATER] = MKCOLOUR(0xCACACACA);
_owner_colours[OWNER_END] = MKCOLOUR(0x20202020); /* industry */
_owner_colours[OWNER_END] = MKCOLOUR(0x20202020); // industry
/* now fill with the company colours */
FOR_ALL_COMPANIES(c) {
@@ -646,7 +646,7 @@ public:
/* distance from right edge */
t = dpi->width - x;
if (t < 4) {
if (t <= 0) break; /* exit loop */
if (t <= 0) break; // exit loop
/* mask to use at the right edge */
mask &= _smallmap_mask_right[t - 1];
}