equal
deleted
inserted
replaced
96 } |
96 } |
97 |
97 |
98 -(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger) section { |
98 -(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger) section { |
99 NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]; |
99 NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]; |
100 char *fullver; |
100 char *fullver; |
101 short int proto = 20; |
101 int proto; |
102 HW_versionInfo(&proto, &fullver); |
102 HW_versionInfo(&proto, &fullver); |
103 |
103 |
104 NSString *footerString = [[NSString alloc] initWithFormat: |
104 NSString *footerString = [[NSString alloc] initWithFormat: |
105 @"You are running Hedgewars-iOS %@ based on Hedgewars version %s (protocol %d)", |
105 @"You are running Hedgewars-iOS %@ based on Hedgewars version %s (protocol %d)", |
106 version, fullver, proto]; |
106 version, fullver, proto]; |