From 7def49a8edd1eaecad24b56646bf99919c52b22d Mon Sep 17 00:00:00 2001 From: Alexander Miller Date: Tue, 10 Apr 2012 18:59:02 +0200 Subject: [PATCH] checked for one argument too less --- iOS/NativeControls/NativeControls.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/NativeControls/NativeControls.m b/iOS/NativeControls/NativeControls.m index 5bce390..7399bcf 100644 --- a/iOS/NativeControls/NativeControls.m +++ b/iOS/NativeControls/NativeControls.m @@ -492,7 +492,7 @@ NSString *title = [arguments objectAtIndex:1]; NSString *imageName = nil; - if (arguments.count >= 2) + if (arguments.count > 2) { imageName = [arguments objectAtIndex:2]; }