X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fimageloader.cpp;h=e224af63cd161495a7e13a7ee795c92273864678;hb=3e5d7f41a6771acdcb5b21d2f06b93e555987264;hp=52b087490d21b58612219952ec89844ad06c0e2a;hpb=8012fe7bc014388e666d770a8cf0a239bb1350d1;p=libs%2Fgui.git diff --git a/source/graphics/imageloader.cpp b/source/graphics/imageloader.cpp index 52b0874..e224af6 100644 --- a/source/graphics/imageloader.cpp +++ b/source/graphics/imageloader.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #include "bmploader.h" #include "imageloader.h" #ifdef WITH_LIBPNG @@ -73,11 +74,7 @@ ImageLoader *ImageLoader::open_io(IO::Seekable &io) { string sig_hex; for(unsigned i=0; i(sig_buf[i])); - } + append(sig_hex, " ", format("%02X", static_cast(sig_buf[i]))); throw unsupported_image_format(sig_hex); }