compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-10-20 13:46:38 +00:00
parent 5896402ea4
commit 601a6d1cc5

View File

@@ -146,7 +146,7 @@ char *followedLinkColourString = NULL;
bool combineSubSections = FALSE; bool combineSubSections = FALSE;
bool htmlWorkshopFiles = FALSE; bool htmlWorkshopFiles = FALSE;
bool ignoreBadRefs = FALSE; bool ignoreBadRefs = FALSE;
char *htmlFaceName = copystring("Times New Roman"); char *htmlFaceName = NULL;
extern int passNumber; extern int passNumber;
@@ -750,7 +750,7 @@ bool read_a_line(char *buf)
fileNameStr.Replace("\\", ""); fileNameStr.Replace("\\", "");
// Ignore some types of input files (e.g. macro definition files) // Ignore some types of input files (e.g. macro definition files)
char *fileOnly = FileNameFromPath((char*) (const char*) fileNameStr); char *fileOnly = wxFileNameFromPath((char*) (const char*) fileNameStr);
currentFileName = fileOnly; currentFileName = fileOnly;
if (IgnorableInputFiles.Member(fileOnly)) if (IgnorableInputFiles.Member(fileOnly))
return read_a_line(buf); return read_a_line(buf);