settings_gui.c
changeset 2201 f240b3c7e2ec
parent 2187 a0e206ce9fbf
child 2231 0e3123832176
equal deleted inserted replaced
2200:7a88aae78d21 2201:f240b3c7e2ec
  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: