diff options
| author | jtx <javier.arraiza@marker.es> | 2013-03-04 11:34:32 +0000 |
|---|---|---|
| committer | jtx <javier.arraiza@marker.es> | 2013-03-04 11:34:32 +0000 |
| commit | bac1d241af62679c8d1824c6162965699914c39c (patch) | |
| tree | c2595c5fa5a11288ec3780e75f943480e19f86e1 /src/io/gzipstream.cpp | |
| parent | Update from branch (diff) | |
| parent | Use ink_cairo_surface_filter when converting surfaces between linearRGB and s... (diff) | |
| download | inkscape-bac1d241af62679c8d1824c6162965699914c39c.tar.gz inkscape-bac1d241af62679c8d1824c6162965699914c39c.zip | |
merge from master branch
(bzr r11950.3.5)
Diffstat (limited to 'src/io/gzipstream.cpp')
| -rw-r--r-- | src/io/gzipstream.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io/gzipstream.cpp b/src/io/gzipstream.cpp index 071179b48..8db7155db 100644 --- a/src/io/gzipstream.cpp +++ b/src/io/gzipstream.cpp @@ -433,19 +433,19 @@ void GzipOutputStream::flush() /** * Writes the specified byte to this output stream. */ -void GzipOutputStream::put(gunichar ch) +int GzipOutputStream::put(gunichar ch) { if (closed) { //probably throw an exception here - return; + return -1; } //Add char to buffer inputBuf.push_back(ch); totalIn++; - + return 1; } |
