From 48d584df58edde56568c6367fb07c80a768dd4e7 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Sat, 26 Dec 2009 01:20:16 -0800 Subject: [PATCH] Fixed typo in setSubviews:. Reviewed by me. --- AppKit/CPView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index e67dd263b..e865737b2 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -497,7 +497,7 @@ var CPViewFlags = { }, // Trivial Case 2: No new subviews, simply remove all current subviews. if ([newSubviews count] === 0) { - var count = [subviews count]; + var count = [_subviews count]; while (count--) [_subviews[count] removeFromSuperview];