[vte/vte-0-34] Fixup commit a551b0b8686bc266a2329a3215069895d591b0e9



commit 2e268aaef84bb9026ff98504efd7679c91ee591c
Author: Behdad Esfahbod <behdad behdad org>
Date:   Fri Sep 27 18:06:31 2013 -0400

    Fixup commit a551b0b8686bc266a2329a3215069895d591b0e9

 src/vtestream-file.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vtestream-file.h b/src/vtestream-file.h
index ce7d790..aa6d03f 100644
--- a/src/vtestream-file.h
+++ b/src/vtestream-file.h
@@ -209,7 +209,7 @@ _vte_file_stream_append (VteStream *astream, const char *data, gsize len)
 
        _vte_file_stream_ensure_fd0 (stream);
 
-       _xpwrite (stream->fd[0], data, len, stream->head);
+       _xpwrite (stream->fd[0], data, len, stream->head - stream->offset[0]);
        stream->head += len;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]