project_files/HedgewarsMobile/Classes/AboutViewController.m
changeset 4603 d362ab6c7f53
parent 4460 bdace1e2f8aa
child 4976 088d40d8aba2
equal deleted inserted replaced
4600:5a3b1dbdd4c9 4603:d362ab6c7f53
    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];