]> git.lyx.org Git - lyx.git/blobdiff - src/Server.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / Server.cpp
index 2aed7fad371aa3ccdadb6d3fb7c3c0413f0adddc..33c32ea19ceac317ebd26010e91b85c78fecd087 100644 (file)
@@ -415,6 +415,8 @@ bool LyXComm::checkStopServer(DWORD timeout)
 bool LyXComm::startPipe(DWORD index)
 {
        pipe_[index].pending_io = false;
+       pipe_[index].overlap.Offset = 0;
+       pipe_[index].overlap.OffsetHigh = 0;
 
        // Overlapped ConnectNamedPipe should return zero.
        if (ConnectNamedPipe(pipe_[index].handle, &pipe_[index].overlap)) {