mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
@@ -657,7 +657,10 @@ static const char* detectOf(FFlist* gpus, FFstrbuf* buffer, FFstrbuf* drmDir, co
|
||||
#endif
|
||||
|
||||
if (!gpu->name.length)
|
||||
{
|
||||
ffStrbufSetS(&gpu->name, name ? name : compatible);
|
||||
ffStrbufTrimRightSpace(&gpu->name);
|
||||
}
|
||||
if (!gpu->vendor.length && name)
|
||||
{
|
||||
compatible[0] = (char) toupper(compatible[0]);
|
||||
|
||||
Reference in New Issue
Block a user