diff --git a/functions.cpp b/functions.cpp index d64410c..42d3594 100644 --- a/functions.cpp +++ b/functions.cpp @@ -507,7 +507,7 @@ void addToDB( const string &show, const string &path, const string &language, ProgressBar p( progress_ptr ); #endif - if( seasons.size() == 0 ) + if ( seasons.size() == 0 ) return; p.print( _( RENAMING ) ); @@ -609,7 +609,7 @@ void refreshDB( bool linux, void *progress_ptr ) { ProgressBar p( progress_ptr ); #endif // GUI - if( shows.size() == 0 ) + if ( shows.size() == 0 ) return; for ( auto &show : shows ) { @@ -696,7 +696,7 @@ void updateDB( bool linux, void *progress_ptr ) { ProgressBar p( progress_ptr ); #endif - if( shows.size() == 0 ) + if ( shows.size() == 0 ) return; p.print( _( UPDATING_DB ) ); @@ -796,7 +796,7 @@ void cleanDB( void *progress_ptr ) { ProgressBar p( progress_ptr ); #endif // GUI - if( shows.size() == 0 ) + if ( shows.size() == 0 ) return; p.print( _( CLEANING_DB ) ); diff --git a/gtk/databasewindow.cpp b/gtk/databasewindow.cpp index 0a610e6..a9435c2 100644 --- a/gtk/databasewindow.cpp +++ b/gtk/databasewindow.cpp @@ -96,7 +96,7 @@ DatabaseWindow::DatabaseWindow( // make columns resizable for ( auto &column : m_tree_database->get_columns() ) { - column->set_resizable(true); + column->set_resizable( true ); } // create language combobox for treeview diff --git a/windows/seasonwindow.cpp b/windows/seasonwindow.cpp index da53f91..f5ecc4b 100644 --- a/windows/seasonwindow.cpp +++ b/windows/seasonwindow.cpp @@ -21,9 +21,9 @@ SeasonWindow::SeasonWindow( HINSTANCE hInstance, : parent( parent_window ), returned( return_vector ), season_nums( seasons ) { window = CreateWindowW( L"SeasonWindow", _( GUI_WINDOW_SEASON ), - WS_OVERLAPPEDWINDOW | WS_VISIBLE, - CW_USEDEFAULT, CW_USEDEFAULT, window_width, - window_height, parent, NULL, hInstance, NULL ); + WS_OVERLAPPEDWINDOW | WS_VISIBLE, CW_USEDEFAULT, + CW_USEDEFAULT, window_width, window_height, parent, + NULL, hInstance, NULL ); ShowWindow( window, SW_SHOW ); auto hFont = ( HFONT )GetStockObject( DEFAULT_GUI_FONT ); EnableWindow( parent, false );