To 0 and not to NULL, that is the answer
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7287 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
50ef1d3369
commit
0c964dbf0c
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ void PlayAppSoundAsync(LPCSTR SoundName, int MBFallback) {
|
|||
PLAYAPPSOUNDDATA *p = (PLAYAPPSOUNDDATA*) MemAlloc(sizeof(PLAYAPPSOUNDDATA));
|
||||
if (p) {
|
||||
p->SoundName = SoundName, p->MBFallback = MBFallback; // Note: The string must be valid until the sound has started because we don't copy it
|
||||
HANDLE hThread = CreateThread(NULL, 0, PlayAppSoundProc, p, 0, SupportsW9X() ? &tid : (tid, NULL));
|
||||
HANDLE hThread = CreateThread(NULL, 0, PlayAppSoundProc, p, 0, SupportsW9X() ? &tid : 0);
|
||||
if (hThread) CloseHandle(hThread); else PlayAppSoundProc(p);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue