mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
Terminal (Windows): removes using of Win32 registry APIs
This commit is contained in:
@@ -192,10 +192,6 @@ static bool processRegValue(const FFRegValueArg* arg, const ULONG regType, const
|
||||
}
|
||||
|
||||
case FF_ARG_TYPE_BUFFER: {
|
||||
if (regType != REG_BINARY) {
|
||||
goto type_mismatch;
|
||||
}
|
||||
|
||||
FFArgBuffer* buffer = (FFArgBuffer*) arg->value;
|
||||
if (buffer->length == 0) {
|
||||
buffer->data = malloc(regDataLen);
|
||||
|
||||
Reference in New Issue
Block a user