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:
tbogard%aol.net
2000-03-14 05:41:02 +00:00
parent 44019ceca9
commit 1e84df08e2

View File

@@ -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);