Skip to content

Commit

Permalink
[ios] fixed, need to match exact string
Browse files Browse the repository at this point in the history
  • Loading branch information
davilla committed Oct 18, 2011
1 parent 30734ca commit 7b9e508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/osx/atv2/XBMCAppliance.m
Expand Up @@ -95,7 +95,7 @@ -(void)XBMCfixUIDevice
// and there is an overlap of some UIKit and AppleTV methods.
// This voodoo seems to clear up the wonkiness. :)
Class cls = NSClassFromString(@"ATVVersionInfo");
if (cls != nil && [[cls currentOSVersion] isEqualToString:@"5."])
if (cls != nil && [[cls currentOSVersion] isEqualToString:@"5.0"])
{
id cd = nil;

Expand Down

0 comments on commit 7b9e508

Please sign in to comment.