diff --git a/libc3/window/sdl2/demo/matrix.c b/libc3/window/sdl2/demo/matrix.c
index 2c244ec..5e25e6c 100644
--- a/libc3/window/sdl2/demo/matrix.c
+++ b/libc3/window/sdl2/demo/matrix.c
@@ -96,7 +96,8 @@ bool matrix_column_render (s_sequence *seq, s_tag *tag)
matrix_text_clean(&(*list)->tag);
*list = list_delete(*list);
}
- list = &(*list)->next.data.list;
+ else
+ list = &(*list)->next.data.list;
}
return true;
}