Commit 42e592d1 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Reading the MRUlist using the W functions we need to divide the size

by sizeof(WCHAR) to get the count of characters.
parent 6e940bb2
......@@ -689,6 +689,8 @@ static HANDLE CreateMRUListLazy_common(LPWINEMRULIST mp)
datasize = 1;
*mp->realMRU = 0;
}
else
datasize /= sizeof(WCHAR);
TRACE("MRU list = %s, datasize = %ld\n", debugstr_w(mp->realMRU), datasize);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment