(XMB) Fix a segfault during menu toggle

This commit is contained in:
Jean-André Santoni 2015-01-30 04:41:08 +01:00
parent 85e29125de
commit 3d3370b725

View File

@ -2917,6 +2917,9 @@ void setting_data_get_label(void *data, char *type_str,
label, idx)) == 0)
return;
if (!label)
return;
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
if ((!strcmp(menu_label, "Shader Options") ||
!strcmp(menu_label, "video_shader_parameters") ||