diff --git a/src/savers/tvg/tvgTvgSaver.cpp b/src/savers/tvg/tvgTvgSaver.cpp index e206994a..d7c97987 100644 --- a/src/savers/tvg/tvgTvgSaver.cpp +++ b/src/savers/tvg/tvgTvgSaver.cpp @@ -752,6 +752,7 @@ bool TvgSaver::save(Paint* paint, const string& path, bool compress) if (!this->path) return false; float x, y; + x = y = 0; paint->bounds(&x, &y, &vsize[0], &vsize[1], false); //cut off the negative space