Spelling: fix spelling of files in remaining files

This commit is contained in:
Marius Messerschmidt
2023-11-18 15:43:35 +01:00
parent 6d22a76946
commit ad5be0f0c2
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
int main(void)
{
ffInitInstance(); //This also applys default configuration to instance.config
ffInitInstance(); //This also applies default configuration to instance.config
//Modify instance.config here
FFOptionsModules* const options = &instance.config.modules;
+1 -1
View File
@@ -105,7 +105,7 @@ void ffLogoPrintChars(const char* data, bool doColorReplacement)
continue;
}
//We have an escape sequence direclty as bytes. We print it, but don't increase the line length
//We have an escape sequence directly as bytes. We print it, but don't increase the line length
if(*data == '\e' && *(data + 1) == '[')
{
const char* start = data;
+3 -3
View File
@@ -291,7 +291,7 @@ const char* ffOptionsParseLogoJsonConfig(FFOptionsLogo* options, yyjson_val* roo
{
uint32_t value = (uint32_t) yyjson_get_uint(val);
if (value == 0)
return "Logo width must be a possitive integer";
return "Logo width must be a positive integer";
options->width = value;
continue;
}
@@ -299,7 +299,7 @@ const char* ffOptionsParseLogoJsonConfig(FFOptionsLogo* options, yyjson_val* roo
{
uint32_t value = (uint32_t) yyjson_get_uint(val);
if (value == 0)
return "Logo height must be a possitive integer";
return "Logo height must be a positive integer";
options->height = value;
continue;
}
@@ -313,7 +313,7 @@ const char* ffOptionsParseLogoJsonConfig(FFOptionsLogo* options, yyjson_val* roo
if (pos) \
{ \
if (!yyjson_is_uint(pos)) \
return "Logo padding values must be possitive integers"; \
return "Logo padding values must be positive integers"; \
options->paddingPos = (uint32_t) yyjson_get_uint(pos); \
}
FF_PARSE_PADDING_POSITON(left, paddingLeft);
+1 -1
View File
@@ -305,7 +305,7 @@ uint32_t ffStrbufPreviousIndexC(const FFstrbuf* strbuf, uint32_t start, char c)
{
assert(start <= strbuf->length);
//We need to loop one higher than the actual index, because uint32_t is guranteed to be >= 0, so this statement would always be true
//We need to loop one higher than the actual index, because uint32_t is guaranteed to be >= 0, so this statement would always be true
for(uint32_t i = start + 1; i > 0; i--)
{
if(strbuf->chars[i - 1] == c)