diff --git a/data/update_window_settings.cpp b/data/update_window_settings.cpp index 6481fd7df5..8b32c2c911 100644 --- a/data/update_window_settings.cpp +++ b/data/update_window_settings.cpp @@ -120,8 +120,9 @@ void writeRules( KConfig& cfg ) cfg.writeEntry( "windowrole", ( const char* ) info->windowRole ); cfg.writeEntry( "windowrolematch", 1 ); } - if( info->windowType == static_cast< NET::WindowType >( -2 )) // undefined - ; // all types + if( info->windowType == static_cast< NET::WindowType >( -2 )) { // undefined + // all types + } if( info->windowType == NET::Unknown ) cfg.writeEntry( "types", (int)NET::NormalMask ); else