MSACM fix

eric pouech eric.pouech at wanadoo.fr
Sat Dec 1 14:28:59 CST 2001


this sounds like an incorrectly deleted part of code...
anyway, this lets sndrec32 save again various files format
(and, probably any program using msacm dialog boxes)

A+
-- 
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle
-------------- next part --------------
Name: msacm_dlg
ChangeLog: fixed acmFormatChoose returned fields
GenDate: 2001/12/01 20:08:58 UTC
ModifiedFiles: dlls/msacm/format.c
AddedFiles: 
===================================================================
RCS file: /usr/share/cvs/cvsroot/wine/wine/dlls/msacm/format.c,v
retrieving revision 1.12
diff -u -u -r1.12 format.c
--- dlls/msacm/format.c	2001/06/11 20:14:44	1.12
+++ dlls/msacm/format.c	2001/12/01 19:42:26
@@ -169,6 +169,11 @@
     affd.mode = WINE_ACMFF_WFX;
     affd.afc = afc;
     affd.ret = MMSYSERR_NOERROR;
+    SendDlgItemMessageA(hWnd, IDD_ACMFORMATCHOOSE_CMB_FORMATTAG, 
+			CB_GETLBTEXT,
+			SendDlgItemMessageA(hWnd, IDD_ACMFORMATCHOOSE_CMB_FORMATTAG, 
+					    CB_GETCURSEL, 0, 0),
+			(DWORD)affd.szFormatTag);
 
     acmFormatTagEnumA((HACMDRIVER)0, &aftd, MSACM_FillFormatTagsCB, (DWORD)&affd, 0);
     return affd.ret;


More information about the wine-patches mailing list