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:
78b6479
)
- Check the return value from *_GETNUMDEVS message as per KB90562.
author
Filip Navara
<xnavara@volny.cz>
Wed, 1 Dec 2004 15:32:19 +0000
(15:32 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 1 Dec 2004 15:32:19 +0000
(15:32 +0000)
- Fix typo in MMDRV_InstallMap.
dlls/winmm/lolvldrv.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/winmm/lolvldrv.c
b/dlls/winmm/lolvldrv.c
index 62a02b6c8bee37649ab4c4a715360a4d855e7312..fced2228b1827b1ce6cdf3de39425ce221da262d 100644
(file)
--- a/
dlls/winmm/lolvldrv.c
+++ b/
dlls/winmm/lolvldrv.c
@@
-85,7
+85,7
@@
void MMDRV_InstallMap(unsigned int drv,
llTypes[drv].Map16To32A = mp1632;
llTypes[drv].UnMap16To32A = um1632;
llTypes[drv].Map32ATo16 = mp3216;
- llTypes[drv].UnMap32ATo16 = um
1632
;
+ llTypes[drv].UnMap32ATo16 = um
3216
;
llTypes[drv].Callback = cb;
}
@@
-561,6
+561,9
@@
static BOOL MMDRV_InitPerType(LPWINE_MM_DRIVER lpDrv, UINT type, UINT wMsg)
}
TRACE("Got %u dev for (%s:%s)\n", count, lpDrv->drvname, llTypes[type].typestr);
+
+ if (HIWORD(count))
+ return FALSE;
/* got some drivers */
if (lpDrv->bIsMapper) {