mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(video_shader_get_type_from_ext) remove strlen call
This commit is contained in:
parent
19c72a413f
commit
f34f4d060c
@ -2025,7 +2025,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] != '\0') && (ext[0] == '.') && (ext[1] != '\0'))
|
||||
ext++;
|
||||
|
||||
if (is_preset)
|
||||
|
Loading…
x
Reference in New Issue
Block a user