opcservices: Initialize archive write position.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5efe50e4d9
commit
f5156fd444
|
@ -134,6 +134,7 @@ HRESULT compress_create_archive(IStream *output, struct zip_archive **out)
|
||||||
|
|
||||||
archive->output = output;
|
archive->output = output;
|
||||||
IStream_AddRef(archive->output);
|
IStream_AddRef(archive->output);
|
||||||
|
archive->position = 0;
|
||||||
|
|
||||||
GetSystemTimeAsFileTime(&ft);
|
GetSystemTimeAsFileTime(&ft);
|
||||||
FileTimeToDosDateTime(&ft, &date, &time);
|
FileTimeToDosDateTime(&ft, &date, &time);
|
||||||
|
|
Loading…
Reference in New Issue