SDL: fixed flags definition lost by bad merge, fixed some indentation