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