commit | d60ca4f0dfe440d1ce6f478d75f32a7ae612fe05 | [log] [tgz] |
---|---|---|
author | Lars Bruun-Hansen <lbruun@apache.org> | Sat Jan 04 22:35:05 2020 +0100 |
committer | Lars Bruun-Hansen <lbruun@apache.org> | Sat Jan 04 22:35:05 2020 +0100 |
tree | f65229e98c6d1c13376e0aee2ab2dd4461801119 | |
parent | 0b5c1520ba6cb64a1f53d82936fa64353dc8401b [diff] |
[NETBEANS-2523] Installer creates invalid Win Registry value The WindowsRegistry_set32BitValue0() function was incorrectly using the length of the Registry name (e.g. 'NoModify') as the the length of value. Since the value we are setting is of type DWORD the length is indeed always exactly 4 bytes, regardless of OS bitness. Solution: sizeof(dword) will always return 4, but we might as well have hard-coded the 4.