9 Dec
2009
9 Dec
'09
1:03 p.m.
Maarten Lankhorst <m.b.lankhorst(a)gmail.com> writes:
@@ -355,8 +357,8 @@ HRESULT WINAPI DirectSoundEnumerateW( if (devs > 0) { if (GetDeviceID(&DSDEVID_DefaultPlayback, &guid) == DS_OK) { static const WCHAR empty[] = { 0 }; - for (wod = 0; wod < devs; ++wod) { - if (IsEqualGUID( &guid, &DSOUND_renderer_guids[wod] ) ) { + wod = guid.Data4[7]; + if (wod < devs) { {
Now that's an interesting indentation style... -- Alexandre Julliard julliard(a)winehq.org