mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
store start URL statically
svn path=/trunk/; revision=13327
This commit is contained in:
@@ -44,10 +44,8 @@ HWND MainFrameBase::Create(LPCTSTR url, UINT cmdshow)
|
||||
//@@hMainFrame = MainFrame::Create(url);
|
||||
|
||||
if (hMainFrame) {
|
||||
String sPath;
|
||||
|
||||
if (url) {
|
||||
sPath = url; // copy url to avoid accessing freed memory
|
||||
static String sPath = url; // copy url to avoid accessing freed memory
|
||||
url = sPath;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user