[dlls/setupapi/devinst.c] Strncpy elimination.
Peter Berg Larsen
pebl at math.ku.dk
Sun Mar 27 14:11:03 CST 2005
Changelog:
Change strncpyW to lstrcpynW.
Index: dlls/setupapi/devinst.c
===================================================================
RCS file: /home/wine/wine/dlls/setupapi/devinst.c,v
retrieving revision 1.22
diff -u -r1.22 devinst.c
--- dlls/setupapi/devinst.c 24 Mar 2005 21:01:37 -0000 1.22
+++ dlls/setupapi/devinst.c 26 Mar 2005 09:41:10 -0000
@@ -891,7 +891,7 @@
{
if (!strncmpW(comW, ptr, sizeof(comW) / sizeof(comW[0]) - 1))
{
- strncpyW(list->names[list->numPorts].name, ptr,
+ lstrcpynW(list->names[list->numPorts].name, ptr,
sizeof(list->names[list->numPorts].name) /
sizeof(list->names[list->numPorts].name[0]));
TRACE("Adding %s to list\n",
More information about the wine-patches
mailing list