X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=charset%2Funistream.c;h=6431b0a293f0eeb16a14106be46cc7c727b229c4;hb=d9820b2d7d4b908bb9da441f5a35a7999d701e60;hp=0e7bbb9629ca4602fa20b79352f48900afef2e5e;hpb=0ba1850de076504dbf931928e709c4119f7bd02d;p=libucw.git diff --git a/charset/unistream.c b/charset/unistream.c index 0e7bbb96..6431b0a2 100644 --- a/charset/unistream.c +++ b/charset/unistream.c @@ -2,6 +2,9 @@ * The UniCode Library: Reading and writing of UTF-8 on Fastbuf Streams * * (c) 2001 Martin Mares + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ #include "lib/lib.h" @@ -46,7 +49,7 @@ bget_utf8_slow(struct fastbuf *b) wrong: if (c >= 0) - bungetc(b, c); + bungetc(b); return UNI_REPLACEMENT; }