Changeset - r5241:68785b014df4
[Not reviewed]
master
0 1 0
peter1138 - 18 years ago 2006-12-04 20:27:53
peter1138@openttd.org
(svn r7363) -Fix (r7357): Update count of NewGRFs when adding an file
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
newgrf_gui.c
Show inline comments
 
@@ -296,12 +296,16 @@ static void NewGRFWndProc(Window *w, Win
 
				ShowNewGRFInfo(WP(w, newgrf_d).sel, wi->left + 2, wi->top + 2, wi->right - wi->left - 2, WP(w, newgrf_d).show_params);
 
			}
 

	
 
			break;
 
		}
 

	
 
		case WE_INVALIDATE_DATA:
 
			SetupNewGRFWindow(w);
 
			break;
 

	
 
		case WE_CLICK:
 
			switch (e->we.click.widget) {
 
				case 3: { /* Add GRF */
 
					GRFConfig **list = WP(w, newgrf_d).list;
 
					Window *w;
 

	
0 comments (0 inline, 0 general)