mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 12:24:07 +00:00
regedit: Fixed a wrong buffer size.
This commit is contained in:
parent
a2dfa7d8a6
commit
e2eb5e2348
|
@ -142,7 +142,7 @@ static void r_verify_reg_wsz(unsigned line, HKEY key, const char *subkey,
|
|||
return;
|
||||
|
||||
MultiByteToWideChar(CP_ACP, 0, value_name, -1, value_nameW,
|
||||
sizeof(value_nameW));
|
||||
sizeof(value_nameW)/sizeof(value_nameW[0]));
|
||||
|
||||
fnd_len = sizeof(fnd_value);
|
||||
lr = RegQueryValueExW(fnd_key, value_nameW, NULL, &fnd_type,
|
||||
|
|
Loading…
Reference in a new issue