mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 18:13:38 +01:00
PowerAdapter: rename PowerAdapterResult to FFPowerAdapterResult
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct PowerAdapterResult
|
||||
typedef struct FFPowerAdapterResult
|
||||
{
|
||||
FFstrbuf description;
|
||||
FFstrbuf name;
|
||||
FFstrbuf modelName;
|
||||
FFstrbuf manufacturer;
|
||||
int watts;
|
||||
} PowerAdapterResult;
|
||||
} FFPowerAdapterResult;
|
||||
|
||||
const char* ffDetectPowerAdapterImpl(FFlist* results);
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ const char* ffDetectPowerAdapterImpl(FFlist* results)
|
||||
continue;
|
||||
}
|
||||
|
||||
PowerAdapterResult* adapter = ffListAdd(results);
|
||||
FFPowerAdapterResult* adapter = ffListAdd(results);
|
||||
|
||||
ffStrbufInit(&adapter->name);
|
||||
ffStrbufInit(&adapter->description);
|
||||
|
||||
Reference in New Issue
Block a user