DisplayServer (macOS): add a missing variable initialization

This commit is contained in:
李通洲 2023-06-09 11:07:06 +08:00
parent 47a5473a35
commit 356c905703
No known key found for this signature in database
GPG Key ID: 269AD4F5325A22A3

View File

@ -108,6 +108,7 @@ void ffConnectDisplayServerImpl(FFDisplayServerResult* ds, const FFinstance* ins
if(instance->config.allowSlowOperations)
{
FF_STRBUF_AUTO_DESTROY name;
ffStrbufInit(&name);
detectWMPlugin(&name);
if(name.length)
ffStrbufAppendF(&ds->wmPrettyName, " (with %s)", name.chars);