mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-07 21:50:08 +01:00
Fastfetch: fix #517
1. Fix specifying `--set-keyless` with the same key second time won't override the value set before 2. Fix specifying `--color` second time won't clear the value set before
This commit is contained in:
@@ -132,6 +132,7 @@ bool ffOptionParseBoolean(const char* str)
|
||||
|
||||
void ffOptionParseColor(const char* value, FFstrbuf* buffer)
|
||||
{
|
||||
ffStrbufClear(buffer);
|
||||
ffStrbufEnsureFree(buffer, 63);
|
||||
|
||||
while(*value != '\0')
|
||||
|
||||
Reference in New Issue
Block a user