diff --git a/src/util/platform/FFPlatform_windows.c b/src/util/platform/FFPlatform_windows.c index cef95fff0..c66b0ab10 100644 --- a/src/util/platform/FFPlatform_windows.c +++ b/src/util/platform/FFPlatform_windows.c @@ -167,7 +167,8 @@ static void detectWine(FFstrbuf* buf) if (!hntdll) return; pwine_get_version = (void *)GetProcAddress(hntdll, "wine_get_version"); if (!pwine_get_version) return; - ffStrbufAppendF(buf, " - wine %s", pwine_get_version()); + ffStrbufAppendS(buf, buf->length ? " - wine " : "wine "); + ffStrbufAppendS(buf, pwine_get_version()); } static void getSystemReleaseAndVersion(FFPlatformSysinfo* info)