summaryrefslogtreecommitdiff
path: root/src/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.c')
-rw-r--r--src/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.c b/src/settings.c
index f03f368..6ee9df2 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -278,7 +278,7 @@ void BarSettingsRead (BarSettings_t *settings) {
free (settings->autostartStation);
settings->autostartStation = strdup (val);
} else if (streq ("event_command", key)) {
- settings->eventCmd = strdup (val);
+ settings->eventCmd = BarSettingsExpandTilde (val, userhome);
} else if (streq ("history", key)) {
settings->history = atoi (val);
} else if (streq ("max_player_errors", key)) {