summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 23f37ecfc2..7cb24c68ef 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1816,6 +1816,7 @@ static int mp_property_audio(m_option_t* prop,int action,void* arg) {
if (code) {
lang[0] = code >> 8;
lang[1] = code;
+ lang[2] = 0;
}
snprintf(*(char**)arg, 63, "(%d) %s", audio_id, code ? lang : MSGTR_Unknown);
return 1;