fix AIX & OS/2 bustage (second attempt)
git-svn-id: svn://10.0.0.236/trunk@102972 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d745421739
commit
9ba42a9da0
@ -411,7 +411,8 @@ nsResProtocolHandler::ResolveURI(nsIURI *uri, char **result)
|
||||
substitutions->GetElementAt(0, getter_AddRefs(substURI));
|
||||
if (!substURI) return NS_ERROR_NOT_AVAILABLE;
|
||||
|
||||
rv = substURI->Resolve(path[0] == '/' ? path+1 : path.get(), result);
|
||||
const char *p = path.get(); // be nice to the AIX and OS/2 compiler
|
||||
rv = substURI->Resolve(p[0] == '/' ? p+1 : p, result);
|
||||
#if 0
|
||||
nsXPIDLCString spec;
|
||||
uri->GetSpec(getter_Copies(spec));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user