aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_keydef.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-22 13:25:53 +0000
committerKalle Wallin <kaw@linux.se>2004-06-22 13:25:53 +0000
commit539be061ff11cb2e095393e2e478c5a50979b3bd (patch)
tree52ab5b89660991a3ffe5dfe009b27eb115354747 /src/screen_keydef.c
parent8e032a17efe4851c9c9de61775101e890d5594f1 (diff)
downloadmpd-539be061ff11cb2e095393e2e478c5a50979b3bd.tar.gz
mpd-539be061ff11cb2e095393e2e478c5a50979b3bd.tar.xz
mpd-539be061ff11cb2e095393e2e478c5a50979b3bd.zip
added screen_bell() for optional audible/visible bells
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1612 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/screen_keydef.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index 809561b80..b85c094c5 100644
--- a/src/screen_keydef.c
+++ b/src/screen_keydef.c
@@ -89,7 +89,7 @@ save_keys(void)
{
screen_status_printf(_("Error: Unable to create direcory ~/.ncmpc - %s"),
strerror(errno));
- beep();
+ screen_bell();
return -1;
}
@@ -98,7 +98,7 @@ save_keys(void)
if( (f=fopen(filename,"w")) == NULL )
{
screen_status_printf(_("Error: %s - %s"), filename, strerror(errno));
- beep();
+ screen_bell();
g_free(filename);
return -1;
}
@@ -165,7 +165,7 @@ assign_new_key(WINDOW *w, int cmd_index, int key_index)
screen_status_printf(_("Error: key %s is already used for %s"),
key2str(key),
get_key_command_name(cmd));
- beep();
+ screen_bell();
return;
}
cmds[cmd_index].keys[key_index] = key;