diff options
author | Stijn Buys <ingar@osirion.org> | 2012-01-28 15:54:57 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-01-28 15:54:57 +0000 |
commit | 986ca13bdbc90bccf8c3e7c05e5c809dea1551fc (patch) | |
tree | aa91eb5678fd8b63d50cb23c904e4ada3f24a888 /src/render/jpgfile.cc | |
parent | 47c565443b9a09344f58a0639d0de5693fbaec31 (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.cc | 5 |
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); } } |