do not account negatives

This commit is contained in:
Lev Walkin 2006-12-06 08:39:47 +00:00
parent 349e8479e6
commit 2c23dcaf3f
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ static inline void ASN_DEBUG(const char *fmt, ...) { (void)fmt; }
int __nl = ((nl) != 0); \
int __i; \
if(__nl) _ASN_CALLBACK("\n", 1); \
if(__level < 0) __level = 0; \
for(__i = 0; __i < __level; __i++) \
_ASN_CALLBACK(" ", 4); \
er.encoded += __nl + 4 * __level; \