Terminal (Windows): removes using of Win32 registry APIs

This commit is contained in:
李通洲
2026-04-21 23:41:34 +08:00
parent dbb060eb62
commit bf0564f9e5
2 changed files with 9 additions and 9 deletions
-4
View File
@@ -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);