fixed bug in .hhp's FILES section creation introduced in previous revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -202,9 +202,10 @@ void ReopenFile(FILE **fd, wxChar **fileName, const wxChar *label)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (fileId == 1)
|
||||||
|
gs_filenames.Add(wxEmptyString);
|
||||||
wxSprintf(buf, _T("%s_%s.html"), FileRoot, label);
|
wxSprintf(buf, _T("%s_%s.html"), FileRoot, label);
|
||||||
gs_filenames.SetCount(fileId + 1);
|
gs_filenames.Add(buf);
|
||||||
gs_filenames[fileId] = buf;
|
|
||||||
}
|
}
|
||||||
if (*fileName) delete[] *fileName;
|
if (*fileName) delete[] *fileName;
|
||||||
*fileName = copystring(wxFileNameFromPath(buf));
|
*fileName = copystring(wxFileNameFromPath(buf));
|
||||||
|
Reference in New Issue
Block a user