mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
ffGetPropValue trim result
This commit is contained in:
@@ -146,5 +146,7 @@ bool ffGetPropValue(const char* line, const char* start, FFstrbuf* buffer)
|
||||
while(line[lineIndex] != '\n' && line[lineIndex] != '\0' && (quotes == NULL || *quotes != line[lineIndex]))
|
||||
ffStrbufAppendC(buffer, line[lineIndex++]);
|
||||
|
||||
ffStrbufTrim(buffer, ' ');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user