From 9f8afb4cb48e3696060d596e6fae12d6d7abf6ce Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 11 Sep 2008 01:37:09 -0400 Subject: [PATCH] Bug 453858 followup to fix orange. Hurray for tests! --- content/html/content/src/nsHTMLFormElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/html/content/src/nsHTMLFormElement.cpp b/content/html/content/src/nsHTMLFormElement.cpp index 2eb65dc938fa..67aec3fb1198 100644 --- a/content/html/content/src/nsHTMLFormElement.cpp +++ b/content/html/content/src/nsHTMLFormElement.cpp @@ -2204,7 +2204,7 @@ nsFormControlList::GetNodeAt(PRUint32 aIndex) FlushPendingNotifications(); if (aIndex < mElements.Length()) { - mElements[aIndex]; + return mElements[aIndex]; } return nsnull;