From 601f8d102a6e27ac5643b3efd27f9d90179a715a Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Sat, 1 Jan 2005 05:45:55 +0000 Subject: [PATCH] Fix bogus assertion. --- js/src/jsxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsxml.c b/js/src/jsxml.c index 8d5cb95e93e5..fe5f621e7f61 100644 --- a/js/src/jsxml.c +++ b/js/src/jsxml.c @@ -2441,7 +2441,7 @@ GeneratePrefix(JSContext *cx, JSString *uri, JSXMLArray *decls) for (m = serial; m != 0; m /= 10) *--dp = (jschar)('0' + m % 10); *--dp = '-'; - JS_ASSERT(dp == cp + length); + JS_ASSERT(dp == bp + length); done = JS_FALSE; break;