diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/screenshot.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/screenshot.cc b/src/render/screenshot.cc index 45e2299..ea2659b 100644 --- a/src/render/screenshot.cc +++ b/src/render/screenshot.cc @@ -111,7 +111,7 @@ void Screenshot::save() image.flip(); if (filetype == TYPEPNG) { - render::PNG::save(filenamestr.str().c_str(), image); + render::PNG::save(filename.c_str(), image); } else if (filetype == TYPEJPG) { render::JPG::save(filename.c_str(), image, (int) screenshotquality->value()); } else if (filetype == TYPETGA) { |