Permalink
Browse files

Fixed a minor bug I introduced where initWithNibName:bundle: does not…

… pass down the parameters it gotten.
  • Loading branch information...
1 parent 0e25242 commit 3fdbe70394cd1c28e958510a017e866d79d19765 @lxcid lxcid committed Nov 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 PaperFoldMenuController/PaperFoldMenuController.m
@@ -172,8 +172,8 @@ - (id)initWithMenuWidth:(float)menuWidth numberOfFolds:(int)numberOfFolds
return self;
}
-- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
- self = [super initWithNibName:nil bundle:nil];
+- (id)initWithNibName:(NSString *)theNibNameOrNil bundle:(NSBundle *)theNibBundleOrNil {
+ self = [super initWithNibName:theNibNameOrNil bundle:theNibBundleOrNil];
if (self)
{
[self commonInit];

0 comments on commit 3fdbe70

Please sign in to comment.