8000 Fix typo · netgit/SCLAlertView@d3125d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit d3125d9

Browse files
Fix typo
1 parent 503dede commit d3125d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SCLAlertView/SCLButton.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ typedef NS_ENUM(NSInteger, SCLActionType)
101101
/** Adjust width of the button according to the width of the alert and
102102
* the number of buttons. Only used when buttons are horizontally aligned.
103103
*
104-
* @param windowWith The width of the alert.
104+
* @param windowWidth The width of the alert.
105105
* @param numberOfButtons The number of buttons in the alert.
106106
*/
107-
- (void)adjustWidthWithWindowWidth:(CGFloat)windowWidht numberOfButtons:(NSUInteger)numberOfButtons;
107+
- (void)adjustWidthWithWindowWidth:(CGFloat)windowWidth numberOfButtons:(NSUInteger)numberOfButtons;
108108

109109
@end

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)
0