diff options
author | Stijn Buys <ingar@osirion.org> | 2010-02-21 12:36:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-02-21 12:36:17 +0000 |
commit | 730c452ff5896ed66114e6b2153add9379edef5c (patch) | |
tree | 353c7c0449deb41f3396d776c0437a4141383d01 /src/render | |
parent | 745b4e04e5f23a02e5d9b12ebabf38d6dd034136 (diff) |
network info messages bugfixes
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) { |