L"" is not legal on all compilers to pass to a PRUnichar*. So instead need a temporary nsAutoString.
git-svn-id: svn://10.0.0.236/trunk@62879 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -774,7 +774,7 @@ nsViewerApp::ViewSource(nsString& aURL)
|
||||
bw->SetApp(this);
|
||||
bw->Init(mAppShell, nsRect(0, 0, 620, 400), PRUint32(~0), mAllowPlugins);
|
||||
bw->mDocShell->SetViewMode(nsIDocShell::viewSource);
|
||||
bw->SetTitle(L"View Source");
|
||||
bw->SetTitle(nsAutoString("View Source").GetUnicode());
|
||||
bw->Show();
|
||||
bw->GoTo(aURL.GetUnicode(),"view-source");
|
||||
NS_RELEASE(bw);
|
||||
|
||||
Reference in New Issue
Block a user