Fix EOL in sources.

This commit is contained in:
sorgelig
2019-03-22 20:38:14 +08:00
parent 5c93f9c79c
commit 00a75bd80b
26 changed files with 11507 additions and 11507 deletions

View File

@@ -652,14 +652,14 @@ const char* get_rbf_name_bootcore(char *str)
char *p = strrchr(str, '/');
if (!p) return str;
char *spl = strrchr(p + 1, '.');
if (spl && !strcmp(spl, ".rbf"))
{
*spl = 0;
}
else
{
return NULL;
char *spl = strrchr(p + 1, '.');
if (spl && !strcmp(spl, ".rbf"))
{
*spl = 0;
}
else
{
return NULL;
}
return p + 1;