fix windows bustage
git-svn-id: svn://10.0.0.236/trunk@138467 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
288608eba3
commit
cc2e079a65
@ -1144,7 +1144,8 @@ FileSystemDataSource::GetVolumeList(nsISimpleEnumerator** aResult)
|
||||
{
|
||||
if (nsnull != (url = PR_smprintf("file:///%c|/", volNum + 'A')))
|
||||
{
|
||||
rv = gRDFService->GetResource(url, getter_AddRefs(vol));
|
||||
rv = gRDFService->GetResource(nsDependentCString(url),
|
||||
getter_AddRefs(vol));
|
||||
PR_Free(url);
|
||||
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user