corrected the patch

This commit is contained in:
Jan Zeleny 2010-04-01 14:14:27 +00:00
parent cf0b5e339d
commit b957b98230

View File

@ -15,9 +15,9 @@
+ else if (have_prec) + else if (have_prec)
+ nchars_needed = prec; + nchars_needed = prec;
+ else + else
+ nchars_needed = arg->stlen; + nchars_needed = arg->stlen;
+ +
+ copy_count = mbc_byte_count(arg->stptr, nchars_needed); + copy_count = mbc_byte_count(arg->stptr, nchars_needed);
} }
bchunk(cp, copy_count); bchunk(cp, copy_count);
while (fw > prec) { while (fw > prec) {