Logo: fix --file-raw doesn't work

Fix #539
Ref https://github.com/hykilpikonna/hyfetch/issues/173
This commit is contained in:
李通洲
2023-08-25 09:40:36 +08:00
parent eb308e1861
commit f19a3b5549
+1 -1
View File
@@ -126,7 +126,7 @@ logoType:
ffOptionParseString(key, value, &options->source);
options->type = FF_LOGO_TYPE_FILE;
}
else if(strcasecmp(key, "raw") == 0)
else if(strcasecmp(subKey, "raw") == 0)
{
ffOptionParseString(key, value, &options->source);
options->type = FF_LOGO_TYPE_FILE_RAW;