Fix a memmove argument

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sun Oct 26 09:20:32 CST 2003


Changelog
	dll/shell32/control.c:Control_DoLaunch
	Memmove needs bytes as length arument
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/shell32/control.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/control.c,v
retrieving revision 1.14
diff -u -r1.14 control.c
--- wine/dlls/shell32/control.c	5 Sep 2003 23:08:31 -0000	1.14
+++ wine/dlls/shell32/control.c	26 Oct 2003 15:18:20 -0000
@@ -382,7 +382,7 @@
 	end++;
     }
     while ((ptr = StrChrW(buffer, '"')))
-	memmove(ptr, ptr+1, lstrlenW(ptr));
+	memmove(ptr, ptr+1, lstrlenW(ptr)*sizeof(WCHAR));
 
     TRACE("cmd %s, extra %s, sp %d\n", debugstr_w(buffer), debugstr_w(extraPmts), sp);
 



More information about the wine-patches mailing list