Small improvements to code quality

This commit is contained in:
Linus Dierheimer
2022-02-12 22:30:57 +01:00
parent a7728f61fb
commit 451848f6fd
7 changed files with 24 additions and 38 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ static bool detectFromConfigFile(const FFstrbuf* filename, FFPlasmaResult* resul
if(line[0] == '[')
{
char categoryName[32];
sscanf(line, "[%32[^]]", categoryName);
sscanf(line, "[%31[^]]", categoryName);
if(strcasecmp(categoryName, "General") == 0)
category = PLASMA_CATEGORY_GENERAL;