From 0babfce4b5f8ab22c4395766e8b7af4ad076503b Mon Sep 17 00:00:00 2001 From: Nihal Jere Date: Mon, 28 Feb 2022 17:02:40 -0600 Subject: swaynag: allocate button_details with details They are used together, so it doesn't make sense to allocate them separately. --- include/swaynag/swaynag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/swaynag/swaynag.h b/include/swaynag/swaynag.h index baa6ee8b..2d68b6c9 100644 --- a/include/swaynag/swaynag.h +++ b/include/swaynag/swaynag.h @@ -67,7 +67,7 @@ struct swaynag_details { int offset; int visible_lines; int total_lines; - struct swaynag_button *button_details; + struct swaynag_button button_details; struct swaynag_button button_up; struct swaynag_button button_down; }; -- cgit v1.2.3-54-g00ecf