Fix embarassing typo, part II.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1181 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-08-09 23:41:52 +00:00
parent 2d35451a2e
commit a2002868f1
+1 -1
View File
@@ -161,7 +161,7 @@ OpenLayers.Size.prototype = {
var equals = false;
if (sz != null) {
equals = ((this.w == sz.w && this.h == sz.h) ||
(isNaN(this.w) && isNaN(this.h) && isNaN(px.w) && isNaN(px.h)));
(isNaN(this.w) && isNaN(this.h) && isNaN(sz.w) && isNaN(sz.h)));
}
return equals;
},