Fix dll_count in mis.c

Christian Gmeiner christian.gmeiner at students.fh-vorarlberg.ac.at
Wed Dec 7 06:35:29 CST 2005


I think that we need to init dll_count with 0 to get DllCanUnloadNow 
working correctly.

-- 
Christian Gmeiner - student of computer science

http://dxr3plugin.sf.net
http://itb04.ath.cx

-------------- next part --------------
Index: dlls/msi/msi.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/msi.c,v
retrieving revision 1.118
diff -u -b -r1.118 msi.c
--- dlls/msi/msi.c      5 Dec 2005 20:07:11 -0000       1.118
+++ dlls/msi/msi.c      5 Dec 2005 23:20:19 -0000
@@ -53,7 +53,7 @@
 WCHAR gszLogFile[MAX_PATH];
 HINSTANCE msi_hInstance;

-static LONG dll_count;
+static LONG dll_count = 0;

 static const WCHAR installerW[] = {'\\','I','n','s','t','a','l','l','e','r',0};


More information about the wine-patches mailing list