changeset 24271:c0474098f1a5

Make charset constants naming consistant (renamed according to specification).
author voroshil
date Wed, 29 Aug 2007 13:37:12 +0000
parents bfad89d872e1
children c989a2c2c341
files stream/tvi_vbi.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/stream/tvi_vbi.c	Wed Aug 29 10:18:47 2007 +0000
+++ b/stream/tvi_vbi.c	Wed Aug 29 13:37:12 2007 +0000
@@ -200,9 +200,9 @@
 
 
 enum {
-  LAT_UNI=0,
+  LATIN=0,
   CYRILLIC1,
-  RUS_UNI,
+  CYRILLIC2,
   CYRILLIC3,
   GREEK,
   LANGS
@@ -321,7 +321,7 @@
 };
 
 static int lang2id (int lang){
-    return LAT_UNI;
+    return LATIN;
 }
 
 /**
@@ -338,7 +338,7 @@
 {
     int charset=lang2id(lang);
     if(p<0x80 && p>=0x20){
-        if(charset==LAT_UNI){
+        if(charset==LATIN){
             if (p>=0x23 && p<=0x24){
                 return latin_subchars[lang][p-0x23];
             }else if (p==0x40){