File diff r1961:7949b074d614 → r1962:cc4c06e3f6b5
station_gui.c
Show inline comments
 
@@ -151,13 +151,13 @@ static void PlayerStationsWndProc(Window
 
		// Player0: 25; Player1: (41-25) 16; Player2: (43-41) 2 stations
 
		i = (window_number == 0) ? 0 : _num_station_sort[window_number-1];
 
		SetVScrollCount(w, _num_station_sort[window_number] - i);
 

	
 
		/* draw widgets, with player's name in the caption */
 
		{
 
			Player *p = DEREF_PLAYER(window_number);
 
			Player *p = GetPlayer(window_number);
 
			SetDParam(0, p->name_1);
 
			SetDParam(1, p->name_2);
 
			SetDParam(2, w->vscroll.count);
 
			DrawWindowWidgets(w);
 
		}