Fix bustage. b=104763
git-svn-id: svn://10.0.0.236/trunk@105478 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -367,7 +367,7 @@ void SaveWebPage(nsIWebBrowser *aWebBrowser)
|
||||
// Copy filename to a character buffer
|
||||
char szFile[_MAX_PATH];
|
||||
memset(szFile, 0, sizeof(szFile));
|
||||
fileName.ToCString(szFile, sizeof(szFile) - 1);
|
||||
PL_strncpyz(szFile, fileName.get(), sizeof(szFile) - 1); // XXXldb probably should be just sizeof(szfile)
|
||||
|
||||
// Initialize the file save as information structure
|
||||
OPENFILENAME saveFileNameInfo;
|
||||
|
||||
Reference in New Issue
Block a user