Fix more heap errors in debug mode - MSVC 2003

This commit is contained in:
twinaphex 2018-01-23 06:16:07 +01:00
parent c323041bc5
commit cc9ce0044b

View File

@ -1308,10 +1308,10 @@ void menu_display_reset_textures_list(
fill_pathname_join(texpath, iconpath, texture_path, sizeof(texpath));
if (string_is_empty(texpath) || !filestream_exists(texpath))
goto error;
return;
if (!image_texture_load(&ti, texpath))
goto error;
return;
video_driver_texture_load(&ti,
filter_type, item);