tiny cleanup
This commit is contained in:
parent
841fa5155c
commit
23da99622c
@ -202,7 +202,7 @@ isSkinnedCb(RpAtomic *atomic, void *data)
|
||||
RpAtomic **pAtomic = (RpAtomic**)data;
|
||||
if(*pAtomic)
|
||||
return nil; // already found one
|
||||
if(RpSkinGeometryGetSkin(atomic->geometry))
|
||||
if(RpSkinGeometryGetSkin(RpAtomicGetGeometry(atomic)))
|
||||
*pAtomic = atomic; // we could just return nil here directly...
|
||||
return atomic;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user