From b32b4824f80145c4f1178d095fcfdc1a910ce753 Mon Sep 17 00:00:00 2001 From: voroshil Date: Wed, 29 Aug 2007 13:37:12 +0000 Subject: Make charset constants naming consistant (renamed according to specification). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24291 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_vbi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stream') diff --git a/stream/tvi_vbi.c b/stream/tvi_vbi.c index 73c2033a99..423d1ed23c 100644 --- a/stream/tvi_vbi.c +++ b/stream/tvi_vbi.c @@ -200,9 +200,9 @@ static const unsigned char corrHamm48[256]={ enum { - LAT_UNI=0, + LATIN=0, CYRILLIC1, - RUS_UNI, + CYRILLIC2, CYRILLIC3, GREEK, LANGS @@ -321,7 +321,7 @@ static unsigned int latin_subchars[8][13]={ }; static int lang2id (int lang){ - return LAT_UNI; + return LATIN; } /** @@ -338,7 +338,7 @@ static unsigned int conv2uni(unsigned int p,int lang) { 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){ -- cgit v1.2.3