# HG changeset patch # User voroshil # Date 1188394632 0 # Node ID c0474098f1a53cf7f77045f0b8a509eb1fd39022 # Parent bfad89d872e11108859d3341526834ec302a1e5f Make charset constants naming consistant (renamed according to specification). diff -r bfad89d872e1 -r c0474098f1a5 stream/tvi_vbi.c --- 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){