Skip to content

Commit 398c606

Browse files
authored
clerical error
1 parent 8766433 commit 398c606

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SCLAlertView/SCLButton.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ - (void)setupWithWindowWidth:(CGFloat)windowWidth
6363
self.layer.cornerRadius = 3.0f;
6464
}
6565

66-
- (void)adjustWidthWithWindowWidth:(CGFloat)windowWidht numberOfButtons:(NSUInteger)numberOfButtons
66+
- (void)adjustWidthWithWindowWidth:(CGFloat)windowWidth numberOfButtons:(NSUInteger)numberOfButtons
6767
{
68-
CGFloat allButtonsWidth = windowWidht - (MARGIN_BUTTON * 2);
68+
CGFloat allButtonsWidth = windowWidth - (MARGIN_BUTTON * 2);
6969
CGFloat buttonWidth = (allButtonsWidth - ((numberOfButtons - 1) * 10)) / numberOfButtons;
7070

7171
self.frame = CGRectMake(0.0f, 0.0f, buttonWidth, MIN_HEIGHT);

0 commit comments

Comments
 (0)