Changeset - r14735:9f9681c6adff
[Not reviewed]
master
0 1 0
alberth - 15 years ago 2010-03-06 11:08:39
alberth@openttd.org
(svn r19333) -Fix (r19328): int versus uint comparison warning fixed.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/airport_gui.cpp
Show inline comments
 
@@ -261,7 +261,7 @@ public:
 
			if (!as->IsAvailable()) {
 
				GfxFillRect(r.left + 1, y + 1, r.right - 1, y + this->line_height - 2, 0, FILLRECT_CHECKER);
 
			}
 
			DrawString(r.left + WD_MATRIX_LEFT, r.right + WD_MATRIX_RIGHT, y + WD_MATRIX_TOP, as->name, (i == _selected_airport_index) ? TC_WHITE : TC_BLACK);
 
			DrawString(r.left + WD_MATRIX_LEFT, r.right + WD_MATRIX_RIGHT, y + WD_MATRIX_TOP, as->name, ((int)i == _selected_airport_index) ? TC_WHITE : TC_BLACK);
 
			y += this->line_height;
 
		}
 
	}
0 comments (0 inline, 0 general)