Explorar o código

fixed null access

Nicolas Cannasse %!s(int64=4) %!d(string=hai) anos
pai
achega
82f10fa796
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      h2d/Flow.hx

+ 2 - 1
h2d/Flow.hx

@@ -661,7 +661,8 @@ class Flow extends Object {
 	override function contentChanged( s : Object ) {
 		while( s.parent != this )
 			s = s.parent;
-		if( getProperties(s).isAbsolute )
+		var p = getProperties(s);
+		if( p != null && p.isAbsolute )
 			return;
 		needReflow = true;
 		onContentChanged();