Spelling: fix spelling of files in src/modules/

This commit is contained in:
Marius Messerschmidt
2023-11-18 15:40:05 +01:00
parent 40e977be31
commit 6d22a76946
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ void ffPrintColors(FFColorsOptions* options)
ffPrintCharTimes(' ', options->paddingLeft);
// 1: Set everything to bolt. This causes normal colors on some systems to be bright.
// 4%d: Set the backgound to the not bright color
// 4%d: Set the background to the not bright color
// 3%d: Set the foreground to the not bright color
// 10%d: Set the background to the bright color
// 9%d: Set the foreground to the bright color
+5 -3
View File
@@ -151,7 +151,8 @@ bool ffParseGPUCommandOptions(FFGPUOptions* options, const char* key, const char
{
options->hideType = (FFGPUType) ffOptionParseEnum(key, value, (FFKeyValuePair[]) {
{ "none", FF_GPU_TYPE_UNKNOWN },
{ "intergrated", FF_GPU_TYPE_INTEGRATED },
{ "intergrated", FF_GPU_TYPE_INTEGRATED }, // for backward compatibility only
{ "integrated", FF_GPU_TYPE_INTEGRATED },
{ "discrete", FF_GPU_TYPE_DISCRETE },
{},
});
@@ -196,7 +197,8 @@ void ffParseGPUJsonObject(FFGPUOptions* options, yyjson_val* module)
int value;
const char* error = ffJsonConfigParseEnum(val, &value, (FFKeyValuePair[]) {
{ "none", FF_GPU_TYPE_UNKNOWN },
{ "intergrated", FF_GPU_TYPE_INTEGRATED },
{ "intergrated", FF_GPU_TYPE_INTEGRATED }, // for backward compatibility only
{ "integrated", FF_GPU_TYPE_INTEGRATED },
{ "discrete", FF_GPU_TYPE_DISCRETE },
{},
});
@@ -235,7 +237,7 @@ void ffGenerateGPUJsonConfig(FFGPUOptions* options, yyjson_mut_doc* doc, yyjson_
yyjson_mut_obj_add_str(doc, module, "hideType", "none");
break;
case FF_GPU_TYPE_INTEGRATED:
yyjson_mut_obj_add_str(doc, module, "hideType", "intergrated");
yyjson_mut_obj_add_str(doc, module, "hideType", "integrated");
break;
case FF_GPU_TYPE_DISCRETE:
yyjson_mut_obj_add_str(doc, module, "hideType", "discrete");