Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Sep 22, 2017
1 parent e74da12 commit a715beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dirs.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ bool dir_init_shader(void)
struct rarch_dir_list *dir_list = (struct rarch_dir_list*)&dir_shader_list;
settings_t *settings = config_get_ptr();

if (!*settings->paths.directory_video_shader)
if (!settings || !*settings->paths.directory_video_shader)
return false;

dir_list->list = dir_list_new_special(
Expand Down

0 comments on commit a715beb

Please sign in to comment.