Commit 12b1f2ec authored by Howard Chu's avatar Howard Chu
Browse files

sync with HEAD again

parent f9687631
......@@ -641,11 +641,13 @@ scale( int new, lutil_int_decnum *prev, unsigned char *tmp )
}
out = tmp + prev->bufsiz;
for ( i = -1; new ; i-- ) {
i = 0;
do {
i--;
new += out[i];
out[i] = new & 0xff;
new >>= 8;
}
} while ( new );
prev->beg = prev->bufsiz + i;
prev->len = -i;
AC_MEMCPY( prev->buf+prev->beg, tmp+prev->beg, prev->len );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment