diff options
-rw-r--r-- | base/win/registry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/win/registry.cc b/base/win/registry.cc index c96f804..3f6a223 100644 --- a/base/win/registry.cc +++ b/base/win/registry.cc @@ -224,7 +224,7 @@ LONG RegKey::ReadValues(const wchar_t* name, DWORD type = REG_MULTI_SZ; DWORD size = 0; - LONG result = ReadValue(name, NULL, &size, NULL); + LONG result = ReadValue(name, NULL, &size, &type); if (FAILED(result) || size == 0) return result; |