We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f8d8de commit ba3e26fCopy full SHA for ba3e26f
1 file changed
src/common/option.c
@@ -157,7 +157,7 @@ bool ffOptionParseBoolean(const char* str)
157
158
void ffOptionParseColorNoClear(const char* value, FFstrbuf* buffer)
159
{
160
- if (value[0] == '\0') return;
+ if (!value || value[0] == '\0') return;
161
162
// If value is already an ANSI escape code, use it
163
if (value[0] == '\e' && value[1] == '[')
0 commit comments