From 7c7d24600b3db2675b691ae6345ef3fefab03dbd Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Mon, 28 May 2018 12:45:42 +1000 Subject: Fix ancestor typos --- include/sway/tree/container.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/sway/tree') diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index a5f591ce..bb6c04a6 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -186,8 +186,8 @@ void container_for_each_descendant_dfs(struct sway_container *container, /** * Returns true if the given container is an ancestor of this container. */ -bool container_has_anscestor(struct sway_container *container, - struct sway_container *anscestor); +bool container_has_ancestor(struct sway_container *container, + struct sway_container *ancestor); /** * Returns true if the given container is a child descendant of this container. -- cgit v1.2.3