changeset 24751:fce055542191

10l: routine sets norm from parameter, but prints value of tv norm option (which can be not equal to parameter).
author voroshil
date Sun, 14 Oct 2007 05:45:20 +0000
parents af0540caadd1
children 21bddf1a7126
files stream/tv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/tv.c	Sun Oct 14 05:18:32 2007 +0000
+++ b/stream/tv.c	Sun Oct 14 05:45:20 2007 +0000
@@ -1045,7 +1045,7 @@
 {
     tvh->norm = norm_from_string(tvh, norm);
 
-    mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_SelectedNorm, tvh->tv_param->norm);
+    mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_SelectedNorm, norm);
     if (tvh->functions->control(tvh->priv, TVI_CONTROL_TUN_SET_NORM, &tvh->norm) != TVI_CONTROL_TRUE) {
 	mp_msg(MSGT_TV, MSGL_ERR, MSGTR_TV_CannotSetNorm);
 	return 0;