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>2012-01-28 15:54:57 +0000
committerStijn Buys <ingar@osirion.org>2012-01-28 15:54:57 +0000
commit986ca13bdbc90bccf8c3e7c05e5c809dea1551fc (patch)
treeaa91eb5678fd8b63d50cb23c904e4ada3f24a888 /src/render/jpgfile.cc
parent47c565443b9a09344f58a0639d0de5693fbaec31 (diff)
Added function to write savegame screenshots,
moved client notification from the individual image loaders to the screenshot function.
Diffstat (limited to 'src/render/jpgfile.cc')
-rw-r--r--src/render/jpgfile.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/render/jpgfile.cc b/src/render/jpgfile.cc
index 25093b0..5a0fb7b 100644
--- a/src/render/jpgfile.cc
+++ b/src/render/jpgfile.cc
@@ -17,7 +17,6 @@ http://www.zarb.org/~gc/html/libpng.html
#include "sys/sys.h"
#include "filesystem/filesystem.h"
#include "render/jpgfile.h"
-#include "core/application.h"
// work-around for a jpeglib problem, needed on win32 and osx
#ifdef HAVE_STDLIB_H
@@ -116,10 +115,6 @@ void JPG::save(const char *filename, Image & image, int jpeg_quality)
jpeg_destroy_compress(&jpeg_compression_info);
//con_print << "Wrote " << filename << std::endl;
- std::string message;
- message.assign("Wrote ");
- message.append(filename);
- core::application()->notify_message(core::Message::Info, message);
}
}