changeset 24185:a5288270d416

Remove ugly Russian language support hack. Currently support for only Latin-1 languages is left. Proper solution for another languages will be added later.
author voroshil
date Sun, 26 Aug 2007 05:15:53 +0000
parents 337fbf5709ab
children c00a882a3adc
files stream/tvi_vbi.c
diffstat 1 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/stream/tvi_vbi.c	Sun Aug 26 05:11:15 2007 +0000
+++ b/stream/tvi_vbi.c	Sun Aug 26 05:15:53 2007 +0000
@@ -262,17 +262,7 @@
 };
 
 static int lang2id (int lang){
-  switch(lang){
-  case 0:
-      return LAT_UNI;
-  case 3: /* Stub. My teletext provider (1TV, Russia) sets this this language 
-             code for russian teletext pages
-             TODO: make this configurable
-           */
-      return RUS_UNI;
-  default:
-      return LAT_UNI;
-  }
+    return LAT_UNI;
 }
 
 /**