main.cpp: fix #endif position
This commit is contained in:
parent
de5be3e857
commit
30c34d7ccb
@ -110,7 +110,7 @@ public:
|
||||
|
||||
#ifdef _WIN32
|
||||
const char_t *validPath() const {
|
||||
return dir_path.substr(0, dir_path.length()-2).c_str();
|
||||
return dir_path.substr( 0, dir_path.length() - 2 ).c_str();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
4
main.cpp
4
main.cpp
@ -244,6 +244,8 @@ int parseCommandLine( string &show, std::set< int > &seasons_num, string &path,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void ensureShowNotEmpty( string &show, const string &path ) {
|
||||
if ( show.empty() ) {
|
||||
show = FSLib::canonical( path );
|
||||
@ -262,8 +264,6 @@ void ensureShowNotEmpty( string &show, const string &path ) {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
// windows needs wmain for unicode support
|
||||
#ifdef _WIN32
|
||||
int wmain
|
||||
|
Loading…
Reference in New Issue
Block a user