OS/2 and AIX bustage

This commit is contained in:
mkaply%us.ibm.com 2002-01-25 03:09:23 +00:00
parent 26aea873ac
commit 443ef94c0c

View File

@ -438,7 +438,7 @@ nsXULContentUtils::MakeElementID(nsIDocument* aDocument, const nsAReadableString
// XXX FIX ME to not do a copy
nsAutoString str(aURI);
if (str.Find(spec) == 0) {
if (str.Find(spec.get()) == 0) {
#ifdef USE_BROKEN_RELATIVE_PARSING
static const PRInt32 kFudge = 1; // XXX assume '#'
#else