Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Commit

Permalink
Accidentally used a 10.10 only method!
Browse files Browse the repository at this point in the history
  • Loading branch information
kbhomes committed Apr 5, 2015
1 parent 90232b9 commit 563c57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiant-player-mac/Updates/UpdateChecker.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ + (NSString *)latestVersionFromGithub:(NSString *)releaseChannel
NSString *version = [rel objectForKey:@"name"];

// Specific to this release chnnel, or is the stable channel (doesn't contain a -beta).
if ([version hasSuffix:releaseChannel] || ![version containsString:@"-"])
if ([version hasSuffix:releaseChannel] || [version rangeOfString:@"-"].location == NSNotFound)
{
return [version substringFromIndex:1];
}
Expand Down

0 comments on commit 563c57d

Please sign in to comment.