Fix default show name

This commit is contained in:
zvon 2019-02-08 13:29:50 +01:00
parent 3ee1937af5
commit b3db96d485

View File

@ -235,6 +235,7 @@ int main
} }
if ( show.empty() ) { if ( show.empty() ) {
show = FSLib::canonical( path );
auto pos = show.find_last_of( '/' ); auto pos = show.find_last_of( '/' );
if ( pos != string::npos ) if ( pos != string::npos )
show = show.substr( ++pos ); show = show.substr( ++pos );