mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-10 08:50:10 +01:00
Platform (Windows): don't use instance.config here
... as it's not initialized yet
This commit is contained in:
1 parent
9ba1cd1291
commit
be2201b5fc
1 file changed
+1
-6
@@ -226,12 +226,7 @@ static void getSystemReleaseAndVersion(FFPlatformSysinfo* info)
|
||||
|
||||
const char* wineVersion = detectWine();
|
||||
if (wineVersion)
|
||||
{
|
||||
if (instance.config.general.detectVersion)
|
||||
ffStrbufSetF(&info->name, "Wine_%s", wineVersion);
|
||||
else
|
||||
ffStrbufSetStatic(&info->name, "Wine");
|
||||
}
|
||||
ffStrbufSetF(&info->name, "Wine_%s", wineVersion);
|
||||
else
|
||||
ffStrbufSetStatic(&info->name, "WIN32_NT");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user