X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fseekable.cpp;h=35ab5a05104fef55fbe625a3e55cdff2d1b18590;hp=a75cf33e67725fe6e978f98d927681cce59e16d5;hb=42ff7c629b2aa7411963bdcc2259a06b1d1de6d3;hpb=eedad559456b8e62ed3b9bd9e8253e5f8bcc02d6 diff --git a/source/io/seekable.cpp b/source/io/seekable.cpp index a75cf33..35ab5a0 100644 --- a/source/io/seekable.cpp +++ b/source/io/seekable.cpp @@ -45,7 +45,7 @@ namespace Msp { namespace IO { bad_seek::bad_seek(SeekOffset offset, SeekType type): - runtime_error(type==S_BEG ? lexical_cast(offset) : + runtime_error(type==S_BEG ? lexical_cast(offset) : type==S_CUR ? format("CUR%+d", offset) : type==S_END ? format("END%+d", offset) : format("SeekType(%d)", type))