settings_gui.c
changeset 486 e81a0c19c503
parent 484 2083d2c44373
child 502 defb8fd8fc98
equal deleted inserted replaced
485:7a7484b85037 486:e81a0c19c503
   980 			x = DrawString(5, 199, STR_NEWGRF_FILENAME, 0);
   980 			x = DrawString(5, 199, STR_NEWGRF_FILENAME, 0);
   981 			DoDrawString(_sel_grffile->filename, x + 2, 199, 0x01);
   981 			DoDrawString(_sel_grffile->filename, x + 2, 199, 0x01);
   982 	
   982 	
   983 			// draw grf id
   983 			// draw grf id
   984 			x = DrawString(5, 209, STR_NEWGRF_GRF_ID, 0);
   984 			x = DrawString(5, 209, STR_NEWGRF_GRF_ID, 0);
   985 			SET_DPARAM16(0, _sel_grffile->grfid);
   985 			snprintf(_userstring, USERSTRING_LEN, "%08X", _sel_grffile->grfid);
   986 			DrawString(x + 2, 209, STR_7024, 0x01);
   986 			DrawString(x + 2, 209, STR_SPEC_USERSTRING, 0x01);
   987 		}
   987 		}
   988 	} break;
   988 	} break;
   989 
   989 
   990 	case WE_CLICK:
   990 	case WE_CLICK:
   991 		switch(e->click.widget) {
   991 		switch(e->click.widget) {