settings_gui.c
changeset 1477 2174a73b11c9
parent 1385 324d3d06a930
child 1500 228f77e88adf
--- a/settings_gui.c	Wed Mar 09 23:59:18 2005 +0000
+++ b/settings_gui.c	Thu Mar 10 07:01:43 2005 +0000
@@ -1194,7 +1194,7 @@
 	AllocateWindowDesc(&_patches_selection_desc);
 }
 
-struct GRFFile *_sel_grffile;
+GRFFile *_sel_grffile;
 
 enum {
 	NEWGRF_WND_PROC_OFFSET_TOP_WIDGET = 14,
@@ -1207,7 +1207,7 @@
 	case WE_PAINT: {
 		int x, y = NEWGRF_WND_PROC_OFFSET_TOP_WIDGET;
 		uint16 i = 0;
-		struct GRFFile *c = _first_grffile;
+		GRFFile *c = _first_grffile;
 
 		DrawWindowWidgets(w);
 
@@ -1323,7 +1323,8 @@
 
 	{ // little helper function to calculate _grffile_count
 	  // should be REMOVED once _grffile_count is calculated at loading
-		struct GRFFile *c = _first_grffile;
+		GRFFile *c = _first_grffile;
+
 		_grffile_count = 0;
 		while (c != NULL) {
 			_grffile_count++;