aboutsummaryrefslogtreecommitdiff
path: root/swaynag/config.c
diff options
context:
space:
mode:
authorRyan Dwyer <RyanDwyer@users.noreply.github.com>2018-08-25 13:06:04 +1000
committerGitHub <noreply@github.com>2018-08-25 13:06:04 +1000
commit4b9ad9c2382db9b2a9a224e9ebc60b6298843aa9 (patch)
treef1ed7e866d4e34f5ef9b8f72ec8095369619aaa7 /swaynag/config.c
parentf51b9478f28143a4f1887711497ff131f26ab1c4 (diff)
parente86d99acd655815781cd2e23877ce58ab5b24826 (diff)
Merge branch 'master' into commands
Diffstat (limited to 'swaynag/config.c')
-rw-r--r--swaynag/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaynag/config.c b/swaynag/config.c
index d6c5739d..4d0824c9 100644
--- a/swaynag/config.c
+++ b/swaynag/config.c
@@ -180,8 +180,8 @@ int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag,
break;
case 'L': // Detailed Button Text
if (swaynag) {
- free(swaynag->details.button_details.text);
- swaynag->details.button_details.text = strdup(optarg);
+ free(swaynag->details.button_details->text);
+ swaynag->details.button_details->text = strdup(optarg);
}
break;
case 'm': // Message