Reading the MRUlist using the W functions we need to divide the size
by sizeof(WCHAR) to get the count of characters.
This commit is contained in:
parent
6e940bb21e
commit
42e592d17a
|
@ -689,6 +689,8 @@ static HANDLE CreateMRUListLazy_common(LPWINEMRULIST mp)
|
||||||
datasize = 1;
|
datasize = 1;
|
||||||
*mp->realMRU = 0;
|
*mp->realMRU = 0;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
datasize /= sizeof(WCHAR);
|
||||||
|
|
||||||
TRACE("MRU list = %s, datasize = %ld\n", debugstr_w(mp->realMRU), datasize);
|
TRACE("MRU list = %s, datasize = %ld\n", debugstr_w(mp->realMRU), datasize);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue