Changeset - r13070:f6d41dc9c68a
[Not reviewed]
master
0 1 0
alberth - 15 years ago 2009-09-19 16:22:49
alberth@openttd.org
(svn r17580) -Fix (r17541): Fix signed/unsigned mismatch with MSVC 2008.
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/newgrf_gui.cpp
Show inline comments
 
@@ -300,10 +300,10 @@ public:
 
				GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, 0xD7);
 

	
 
				uint y = r.top + WD_FRAMERECT_TOP;
 
				int min_index = this->vscroll.GetPosition();
 
				int max_index = min(min_index + this->vscroll.GetCapacity(), this->grfs.Length());
 
				uint min_index = this->vscroll.GetPosition();
 
				uint max_index = min(min_index + this->vscroll.GetCapacity(), this->grfs.Length());
 

	
 
				for (int i = min_index; i < max_index; i++)
 
				for (uint i = min_index; i < max_index; i++)
 
				{
 
					const GRFConfig *c = this->grfs[i];
 
					bool h = c == this->sel;
0 comments (0 inline, 0 general)