mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
...
This commit is contained in:
parent
a1b40cc8f5
commit
60d4ed3a1c
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ queue_canberra_sound(const char *which_sound, const char *event_id, bool is_path
|
|||
current_sound.event_id = strdup(event_id);
|
||||
current_sound.media_role = strdup(media_role);
|
||||
current_sound.is_path = is_path;
|
||||
current_sound.theme_name = strdup(theme_name);
|
||||
current_sound.theme_name = theme_name ? strdup(theme_name) : NULL;
|
||||
pthread_mutex_unlock(&canberra_lock);
|
||||
while (true) {
|
||||
ssize_t ret = write(canberra_pipe_w, "w", 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue