Commit bc6daf3f authored by Deucе's avatar Deucе 👌🏾
Browse files

Only check the filename for a dot, not the whole cachepath

Fixes icon displays in RIPs that don't use the .ICN extension.
parent 0f628a71
Pipeline #3483 passed with stage
in 5 minutes and 22 seconds
......@@ -12606,7 +12606,7 @@ do_rip_command(int level, int sublevel, int cmd, const char *rawargs)
break;
}
strcat(cache_path, &args[9]);
if (strchr(cache_path, '.') == NULL)
if (strchr(&args[9], '.') == NULL)
strcat(cache_path, ".ICN");
fexistcase(cache_path);
icn = fopen(cache_path, "rb");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment