While strcpy is safe in this case, it's use requires extra scrutiny and can cause problems if the strings are later translated. Also move the ID code assignment into material_init_data as the ID-code is more of an internal detail.
While strcpy is safe in this case, it's use requires extra scrutiny and can cause problems if the strings are later translated. Also move the ID code assignment into material_init_data as the ID-code is more of an internal detail.