http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f86d10f
)
msacm32.drv: Don't access uninitialized memory.
author
Ken Thomases
<ken@codeweavers.com>
Wed, 21 Oct 2009 15:05:15 +0000
(10:05 -0500)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 21 Oct 2009 17:45:30 +0000
(19:45 +0200)
dlls/msacm32.drv/wavemap.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/msacm32.drv/wavemap.c
b/dlls/msacm32.drv/wavemap.c
index 556b0c075349ba6d45c48aef124fa0afad196731..1faf7d2e3d08a13c946e3aa033e39b07d95a17f0 100644
(file)
--- a/
dlls/msacm32.drv/wavemap.c
+++ b/
dlls/msacm32.drv/wavemap.c
@@
-673,7
+673,7
@@
static void CALLBACK widCallback(HWAVEIN hWave, UINT uMsg, DWORD_PTR dwInstance,
return;
}
- if (
hWave != wim->u.in.hInnerWave && uMsg != WIM_OPEN
)
+ if (
uMsg != WIM_OPEN && hWave != wim->u.in.hInnerWave
)
ERR("Shouldn't happen (%p %p)\n", hWave, wim->u.in.hInnerWave);
switch (uMsg) {