X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstringcodec%2Fiso2022jp.cpp;h=1e5bf90ee590fb068276a1287e3b0fe5c3a9f4ff;hp=985451280f42cfd79496963a95716dd59b3d717d;hb=3e3868860d4f4ca1bbe55fbf271c804307cea3c9;hpb=02794ef3620d0d9cc3b8f1c0d8f2995c825fdf4f diff --git a/source/stringcodec/iso2022jp.cpp b/source/stringcodec/iso2022jp.cpp index 9854512..1e5bf90 100644 --- a/source/stringcodec/iso2022jp.cpp +++ b/source/stringcodec/iso2022jp.cpp @@ -85,7 +85,7 @@ Iso2022Jp::Decoder::Decoder(ErrorMode em): unichar Iso2022Jp::Decoder::decode_char(const string &str, string::const_iterator &i) { if(i==str.end()) - return error("No input"); + return -1; while(i!=str.end()) {