mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
video_shader_get_type_from_ext - get rid of unnecessary strlen
This commit is contained in:
parent
c240340c91
commit
819337d5d4
@ -1984,7 +1984,7 @@ enum rarch_shader_type video_shader_get_type_from_ext(
|
||||
if (string_is_empty(ext))
|
||||
return RARCH_SHADER_NONE;
|
||||
|
||||
if (strlen(ext) > 1 && ext[0] == '.')
|
||||
if (ext[0] == '.' && ext[1] != '\0')
|
||||
ext++;
|
||||
|
||||
if (is_preset)
|
||||
|
Loading…
x
Reference in New Issue
Block a user