PATCH: VariantTimeToDosDateTime (Odin)

Sander van Leeuwen sandervl at xs4all.nl
Fri Feb 15 08:13:15 CST 2002


Changelog:
Fix crash in VariantTimeToDosDateTime
Author: Odin/Patrick Haller <patrick.haller at innotek.de>

Index: variant.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/variant.c,v
retrieving revision 1.33
diff -u -r1.33 variant.c
--- variant.c	2002/02/05 18:11:22	1.33
+++ variant.c	2002/02/15 12:13:12
@@ -4361,8 +4361,8 @@
 INT WINAPI VariantTimeToDosDateTime(DATE pvtime, USHORT *wDosDate, USHORT *wDosTime)
 {
     struct tm t;
-    wDosTime = 0;
-    wDosDate = 0;
+    *wDosTime = 0;
+    *wDosDate = 0;
 
     TRACE("( 0x%x, 0x%x, %p ), stub\n", *wDosDate, *wDosTime, &pvtime );
 






More information about the wine-patches mailing list