Source/Grid.m
changeset 10 6c78cc6bd7a6
parent 8 45c82a071aca
child 11 436cbdf56810
     1.1 --- a/Source/Grid.m	Wed May 28 12:47:10 2008 -0700
     1.2 +++ b/Source/Grid.m	Thu Jul 03 17:44:30 2008 -0700
     1.3 @@ -23,6 +23,7 @@
     1.4  #import "Grid.h"
     1.5  #import "Bit.h"
     1.6  #import "Game.h"
     1.7 +#import "Player.h"
     1.8  #import "QuartzUtils.h"
     1.9  
    1.10  
    1.11 @@ -127,7 +128,7 @@
    1.12      GridCell *cell = [[_cellClass alloc] initWithGrid: self 
    1.13                                          row: row column: col
    1.14                                                  frame: frame];
    1.15 -    cell.name = [NSString stringWithFormat: @"%c%u", ('A'+row),col];
    1.16 +    cell.name = [NSString stringWithFormat: @"%c%u", ('A'+row),(1+col)];
    1.17      return [cell autorelease];
    1.18  }
    1.19