mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:23:13 +00:00
use the address of the value, not the value itself
patch by Gregor Schneider <grschneider at gmail.com> See issue #3547 for more details. svn path=/trunk/; revision=34669
This commit is contained in:
parent
d69ea33500
commit
23452e24a7
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ WriteGlobalData(PGLOBAL_DATA pGlobalData)
|
||||||
_T("Sound On Activation"),
|
_T("Sound On Activation"),
|
||||||
0,
|
0,
|
||||||
REG_DWORD,
|
REG_DWORD,
|
||||||
(LPBYTE)pGlobalData->bSoundOnActivation,
|
(LPBYTE)&pGlobalData->bSoundOnActivation,
|
||||||
sizeof(BOOL));
|
sizeof(BOOL));
|
||||||
|
|
||||||
RegCloseKey(hKey);
|
RegCloseKey(hKey);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue