Browse Source

Player: fix typo in autorotation method(iOS5.x)

Gleb Pinigin 12 years ago
parent
commit
1b1cc5243c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AspenProject/VLCMovieViewController.m

+ 1 - 1
AspenProject/VLCMovieViewController.m

@@ -649,7 +649,7 @@
 
 
 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {
 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {
     return UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad
     return UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad
-           || toInterfaceOrientation != UIInterfaceOrientationMaskPortraitUpsideDown;
+           || toInterfaceOrientation != UIInterfaceOrientationPortraitUpsideDown;
 }
 }
 
 
 #pragma mark - External Display
 #pragma mark - External Display