Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-02-21 12:36:17 +0000
committerStijn Buys <ingar@osirion.org>2010-02-21 12:36:17 +0000
commit730c452ff5896ed66114e6b2153add9379edef5c (patch)
tree353c7c0449deb41f3396d776c0437a4141383d01 /src/render
parent745b4e04e5f23a02e5d9b12ebabf38d6dd034136 (diff)
network info messages bugfixes
Diffstat (limited to 'src/render')
-rw-r--r--src/render/screenshot.cc2
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) {