settings_gui.c
changeset 2201 3300b6ce8bce
parent 2187 2a51f8925eeb
child 2231 a301cef3707d
equal deleted inserted replaced
2200:59c49085dff2 2201:3300b6ce8bce
  1197 			x = DrawString(5, 199, STR_NEWGRF_FILENAME, 0);
  1197 			x = DrawString(5, 199, STR_NEWGRF_FILENAME, 0);
  1198 			DoDrawString(_sel_grffile->filename, x + 2, 199, 0x01);
  1198 			DoDrawString(_sel_grffile->filename, x + 2, 199, 0x01);
  1199 
  1199 
  1200 			// draw grf id
  1200 			// draw grf id
  1201 			x = DrawString(5, 209, STR_NEWGRF_GRF_ID, 0);
  1201 			x = DrawString(5, 209, STR_NEWGRF_GRF_ID, 0);
  1202 			snprintf(_userstring, USERSTRING_LEN, "%08X", _sel_grffile->grfid);
  1202 			snprintf(_userstring, lengthof(_userstring), "%08X", _sel_grffile->grfid);
  1203 			DrawString(x + 2, 209, STR_SPEC_USERSTRING, 0x01);
  1203 			DrawString(x + 2, 209, STR_SPEC_USERSTRING, 0x01);
  1204 		}
  1204 		}
  1205 	} break;
  1205 	} break;
  1206 
  1206 
  1207 	case WE_CLICK:
  1207 	case WE_CLICK: