[core] fix logging so we don't use strings as a formatter

This commit is contained in:
Konstantin Käfer
2015-10-02 15:55:21 +02:00
parent bbf16b2b1d
commit 69564cc886
5 changed files with 6 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ Image::Image(std::string const& data)
}
catch (ImageReaderException const& ex)
{
Log::Error(Event::Image, ex.what());
Log::Error(Event::Image, "%s", ex.what());
img.reset();
width = 0;
height = 0;