commit | ef06b4a694ac020c0286f3a6cea61bdc73d883bf | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Sun Jul 22 23:08:10 2001 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sun Jul 22 23:08:10 2001 +0000 |
tree | ae57ebfbfcf1988c8540c3503d1560fce7e12d18 | |
parent | a9eae850d42313433c6102a1f81e1e134f165c93 [diff] [blame] |
Got rid of HEAP_strdupW.
diff --git a/windows/mdi.c b/windows/mdi.c index cfad061..36a47cc 100644 --- a/windows/mdi.c +++ b/windows/mdi.c
@@ -1183,7 +1183,8 @@ if (lpTitle) { if (ci->frameTitle) HeapFree( GetProcessHeap(), 0, ci->frameTitle ); - ci->frameTitle = HEAP_strdupW( GetProcessHeap(), 0, lpTitle ); + if ((ci->frameTitle = HeapAlloc( GetProcessHeap(), 0, (strlenW(lpTitle)+1)*sizeof(WCHAR)))) + strcpyW( ci->frameTitle, lpTitle ); } if (ci->frameTitle)