store start URL statically

svn path=/trunk/; revision=13327
This commit is contained in:
Martin Fuchs 2005-01-27 00:18:30 +00:00
parent 47335997a6
commit 9e0b60cb02

View file

@ -44,10 +44,8 @@ HWND MainFrameBase::Create(LPCTSTR url, UINT cmdshow)
//@@hMainFrame = MainFrame::Create(url); //@@hMainFrame = MainFrame::Create(url);
if (hMainFrame) { if (hMainFrame) {
String sPath;
if (url) { if (url) {
sPath = url; // copy url to avoid accessing freed memory static String sPath = url; // copy url to avoid accessing freed memory
url = sPath; url = sPath;
} }