sdsykes/Change-Space — Issue #13: bug in NotificationView.m
Author: hartrock
Created: 2011-11-20 20:42:02+00:00
State: open

From
https://github.com/sdsykes/Change-Space/blob/master/ChangeSpace/NotificationView.m
code

```
- (CGPoint)positionForSpaceNumber:(int)spaceNumber
{
CGPoint point;
point.x = (spaceNumber - 1) % numCols;
point.y = (spaceNumber - 1) / numCols;

return point;
}
```

seems to be wrong; it could be

```
- (CGPoint)positionForSpaceNumber:(int)spaceNumber
{
CGPoint point;
point.x = (spaceNumber - 1) % numCols;
point.y = (spaceNumber - 1) / numRows;

return point;
}
```
.