Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSArray.d @ 129:ad4e1fe71a5a
Fixed runtime errors
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sun, 18 Jan 2009 18:39:46 +0100 |
parents | 62202ce0039f |
children |
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSArray.d Sat Jan 17 16:26:49 2009 +0100 +++ b/dwt/internal/cocoa/NSArray.d Sun Jan 18 18:39:46 2009 +0100 @@ -53,8 +53,8 @@ } public cocoa.id objectAtIndex(NSUInteger index) { - objc.id result = OS.objc_msgSend(this.id, OS.sel_objectAtIndex_, index); - return result !is null ? new cocoa.id(result) : null; + objc.id result = OS.objc_msgSend(this.id, OS.sel_objectAtIndex_, index); + return result !is null ? new cocoa.id(result) : null; } }