store start URL statically Modified: trunk/reactos/subsys/system/ibrowser/mainframe.cpp _____
Modified: trunk/reactos/subsys/system/ibrowser/mainframe.cpp --- trunk/reactos/subsys/system/ibrowser/mainframe.cpp 2005-01-27 00:09:43 UTC (rev 13326) +++ trunk/reactos/subsys/system/ibrowser/mainframe.cpp 2005-01-27 00:18:30 UTC (rev 13327) @@ -44,10 +44,8 @@
//@@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; }