Commit f5156fd4 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

opcservices: Initialize archive write position.

parent 5efe50e4
...@@ -134,6 +134,7 @@ HRESULT compress_create_archive(IStream *output, struct zip_archive **out) ...@@ -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);
......
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