From 4c9e75dc90a789415018e76120109f753e3641fd Mon Sep 17 00:00:00 2001 From: Marco Zehe Date: Wed, 17 Jun 2009 19:05:45 +0200 Subject: [PATCH] Bug 498913 - Crash when visiting www.bicycling.com with JAWS 10 running, r=davidb --- accessible/src/html/nsHTMLTableAccessible.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessible/src/html/nsHTMLTableAccessible.cpp b/accessible/src/html/nsHTMLTableAccessible.cpp index cbc6f7f938c..1f611781137 100644 --- a/accessible/src/html/nsHTMLTableAccessible.cpp +++ b/accessible/src/html/nsHTMLTableAccessible.cpp @@ -1385,7 +1385,7 @@ NS_IMETHODIMP nsHTMLTableAccessible::IsProbablyForLayout(PRBool *aIsProbablyForL PRUint32 length; nodeList->GetLength(&length); nsAutoString color, lastRowColor; - for (PRInt32 rowCount = 0; rowCount < rows; rowCount ++) { + for (PRInt32 rowCount = 0; rowCount < length; rowCount ++) { nsCOMPtr rowNode; nodeList->Item(rowCount, getter_AddRefs(rowNode));