Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Commit

Permalink
Add some spaces around multiplication operation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Czarny committed Jan 20, 2014
1 parent 001f48a commit fc3104e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpectacleWindowPositionCalculator.m
Expand Up @@ -9,8 +9,8 @@

#pragma mark -

#define AlreadyTwoThirdsOfDisplay(a, b) (abs(a.size.width - floor((b.size.width * 2.0f) / 3.0f)) < SpectacleWindowCalculationFudgeFactor) && (abs(a.size.height - b.size.height) < SpectacleWindowCalculationFudgeFactor*2)
#define AlreadyOneHalfOfDisplay(a, b) (abs(a.size.width - (b.size.width / 2.0f)) < SpectacleWindowCalculationFudgeFactor) && (abs(a.size.height - b.size.height) < SpectacleWindowCalculationFudgeFactor*2)
#define AlreadyTwoThirdsOfDisplay(a, b) (abs(a.size.width - floor((b.size.width * 2.0f) / 3.0f)) < SpectacleWindowCalculationFudgeFactor) && (abs(a.size.height - b.size.height) < (SpectacleWindowCalculationFudgeFactor * 2))
#define AlreadyOneHalfOfDisplay(a, b) (abs(a.size.width - (b.size.width / 2.0f)) < SpectacleWindowCalculationFudgeFactor) && (abs(a.size.height - b.size.height) < (SpectacleWindowCalculationFudgeFactor * 2))

#pragma mark -

Expand Down

0 comments on commit fc3104e

Please sign in to comment.