main.cpp: fix #endif position

This commit is contained in:
zvon 2020-05-11 15:34:40 +02:00
parent de5be3e857
commit 30c34d7ccb
2 changed files with 3 additions and 3 deletions

View File

@ -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