X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=dll%2Fwin32%2Fsxs%2Fsxs_private.h;h=006eb67f90d7813bb60d2c9413be4596862873c1;hp=1ceab265e330acaee752c45dcdf30f9a82c1a6df;hb=58895b70d0b0a266043f7fc9e8722cff4845abc0;hpb=074cec532bd2e636a3dad3a97bce35b631b3f16e diff --git a/dll/win32/sxs/sxs_private.h b/dll/win32/sxs/sxs_private.h index 1ceab265e33..006eb67f90d 100644 --- a/dll/win32/sxs/sxs_private.h +++ b/dll/win32/sxs/sxs_private.h @@ -34,7 +34,7 @@ static inline WCHAR *strdupW( const WCHAR *src ) WCHAR *dst; if (!src) return NULL; - dst = HeapAlloc( GetProcessHeap(), 0, (strlenW( src ) + 1) * sizeof(WCHAR) ); - if (dst) strcpyW( dst, src ); + dst = HeapAlloc( GetProcessHeap(), 0, (lstrlenW( src ) + 1) * sizeof(WCHAR) ); + if (dst) lstrcpyW( dst, src ); return dst; }