updates to sync with nsString2 api

git-svn-id: svn://10.0.0.236/trunk@28570 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-04-21 23:35:12 +00:00
parent c9af3f688f
commit 1620c29fb0
4 changed files with 6 additions and 6 deletions

View File

@@ -1079,7 +1079,7 @@ nsObjectFrame::Reflow(nsIPresContext& aPresContext,
// if we didn't find the type, but we do have a src, we can determine the mimetype
// based on the file extension
if(!mimeType && src)
if(!mimeType && src.GetUnicode())
{
char* extension;
char* cString = src.ToNewCString();