don't trasnform output dir name to lower case

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-03-27 15:33:10 +00:00
parent bcfc655bca
commit 3ca1eceb08

View File

@@ -788,7 +788,7 @@ void HelpGenVisitor::VisitClass( spClass& cl )
// the file name is built from the class name by removing the leading "wx"
// if any and converting it to the lower case
wxString filename = m_directoryOut;
wxString filename;
if ( name(0, 2) == "wx" ) {
filename << name.c_str() + 2;
}
@@ -798,6 +798,7 @@ void HelpGenVisitor::VisitClass( spClass& cl )
filename.MakeLower();
filename += ".tex";
filename.Prepend(m_directoryOut);
if ( !m_overwrite && wxFile::Exists(filename) ) {
wxLogError("Won't overwrite existing file '%s' - please use '-f'.",
@@ -1938,8 +1939,8 @@ static const char *GetCurrentTime(const char *timeFormat)
/*
$Log$
Revision 1.10.2.1 2000/03/27 15:29:32 VZ
a usage msg cosemtic fix
Revision 1.10.2.2 2000/03/27 15:33:10 VZ
don't trasnform output dir name to lower case
Revision 1.10 2000/03/11 10:05:23 VS
now compiles with wxBase