epiphany r8646 - branches/gnome-2-24/embed/mozilla



Author: chpe
Date: Sat Dec 27 12:09:26 2008
New Revision: 8646
URL: http://svn.gnome.org/viewvc/epiphany?rev=8646&view=rev

Log:
Be extra safe.

Modified:
   branches/gnome-2-24/embed/mozilla/EventContext.cpp

Modified: branches/gnome-2-24/embed/mozilla/EventContext.cpp
==============================================================================
--- branches/gnome-2-24/embed/mozilla/EventContext.cpp	(original)
+++ branches/gnome-2-24/embed/mozilla/EventContext.cpp	Sat Dec 27 12:09:26 2008
@@ -676,7 +676,11 @@
 #endif
 
 	PRInt32 x = 0, y = 0;
+#ifdef HAVE_GECKO_1_9_1
+	while (elem && htmlElem)
+#else
 	while (htmlElem)
+#endif
 	{
 		PRInt32 val;
 #ifdef HAVE_GECKO_1_9_1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]