Skip to content
Snippets Groups Projects
Commit bc6daf3f authored by Deucе's avatar Deucе :ok_hand_tone4:
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
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3483 passed
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment