Skip to content

Commit 2e56626

Browse files
fix issue #34
1 parent 09b895f commit 2e56626

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WYPopoverController/WYPopoverController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,7 +2095,7 @@ - (CGSize)sizeForRect:(CGRect)aRect
20952095

20962096
#pragma mark Inline functions
20972097

2098-
NSString* NSStringFromOrientation(NSInteger orientation) {
2098+
static NSString* NSStringFromOrientation(NSInteger orientation) {
20992099
NSString* result = @"Unknown";
21002100

21012101
switch (orientation) {
@@ -2118,7 +2118,7 @@ - (CGSize)sizeForRect:(CGRect)aRect
21182118
return result;
21192119
}
21202120

2121-
CGFloat GetStatusBarHeight() {
2121+
static CGFloat GetStatusBarHeight() {
21222122
UIInterfaceOrientation orienation = [[UIApplication sharedApplication] statusBarOrientation];
21232123

21242124
CGFloat statusBarHeight = 0;

0 commit comments

Comments
 (0)