commit | 1ea95900468ec45c251dd44093830569af28e657 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@redhat.com> | Wed Jul 28 14:49:55 2010 +0200 |
committer | Daniel Veillard <veillard@redhat.com> | Wed Jul 28 14:49:55 2010 +0200 |
tree | 5438467f02e05223d5470e2f47fbb74cc995718d | |
parent | 5f8f5e7add065dc569b999179ff25e475376a901 [diff] |
Small code cleanup on previous patch suggested by Andrew Nosenko
diff --git a/xmlschemastypes.c b/xmlschemastypes.c index 5347283..1a5454c 100644 --- a/xmlschemastypes.c +++ b/xmlschemastypes.c
@@ -2475,7 +2475,7 @@ digits_after++; } } - if (digits_before + digits_after == 0) + if ((digits_before == 0) && (digits_after == 0)) goto return1; if ((*cur == 'e') || (*cur == 'E')) { cur++;