Replaced all lstr* calls from inside Wine code by their str* equivalent.
diff --git a/controls/icontitle.c b/controls/icontitle.c
index 0e94893..9f0c02e 100644
--- a/controls/icontitle.c
+++ b/controls/icontitle.c
@@ -11,6 +11,7 @@
#include "wingdi.h"
#include "winuser.h"
#include "wine/winuser16.h"
+#include "wine/unicode.h"
#include "win.h"
#include "heap.h"
@@ -70,7 +71,7 @@
if( length )
{
str = HeapAlloc( GetProcessHeap(), 0, (length + 1) * sizeof(WCHAR) );
- lstrcpyW( str, wnd->owner->text );
+ strcpyW( str, wnd->owner->text );
while( str[length - 1] == ' ' ) /* remove trailing spaces */
{
str[--length] = '\0';
diff --git a/controls/listbox.c b/controls/listbox.c
index 5f9f281..4d6b39a 100644
--- a/controls/listbox.c
+++ b/controls/listbox.c
@@ -712,7 +712,7 @@
{
if (!buffer)
return strlen(descr->items[index].str);
- lstrcpyA( buffer, descr->items[index].str );
+ strcpy( buffer, descr->items[index].str );
return strlen(buffer);
} else {
if (buffer)