From: Dmitry Timoshkov <dmitry(a)baikal.ru> Signed-off-by: Dmitry Timoshkov <dmitry(a)baikal.ru> --- dlls/ole32/stg_prop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/stg_prop.c b/dlls/ole32/stg_prop.c index 04dda206d72..9b11b2085db 100644 --- a/dlls/ole32/stg_prop.c +++ b/dlls/ole32/stg_prop.c @@ -1815,7 +1815,7 @@ static HRESULT PropertyStorage_ReadDictionary(PropertyStorage_impl *This, const } TRACE("Reading entry with ID %#lx, %ld chars, name %s.\n", propid, cbEntry, This->codePage == CP_UNICODE ? - debugstr_wn((WCHAR *)buffer->data, cbEntry) : debugstr_an((char *)buffer->data, cbEntry)); + debugstr_wn((WCHAR *)(buffer->data + offset), cbEntry) : debugstr_an((char *)buffer->data + offset, cbEntry)); hr = PropertyStorage_StoreNameWithId(This, (char *)buffer->data + offset, This->codePage, propid); /* Unicode entries are padded to DWORD boundaries */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9029