Mercurial > mplayer.hg
changeset 34702:788175a8c14a
Do not use single quotes around hex literals
This is a fixup for r34781. Somehow single quotes were added
to what was meant to be a C hex constant. They were not present
in the original patch. This probably means 10l for Compn :)
Additionally I added comments to describe what characters the
hex literals stand for.
Found-By: Ingo Br«äckl
author | al |
---|---|
date | Sat, 03 Mar 2012 23:34:29 +0000 |
parents | 863f5b2905f0 |
children | 4ccdcd1ff6ba |
files | sub/sub_cc.c |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/sub/sub_cc.c Sat Mar 03 23:31:28 2012 +0000 +++ b/sub/sub_cc.c Sat Mar 03 23:34:29 2012 +0000 @@ -65,16 +65,16 @@ for (i = 0; i < 128; i++) chartbl[i] = (char) i; /* now the special codes */ - chartbl[0x2a] = '0xe1'; - chartbl[0x5c] = '0xe9'; - chartbl[0x5e] = '0xed'; - chartbl[0x5f] = '0xf3'; - chartbl[0x60] = '0xfa'; - chartbl[0x7b] = '0xe7'; - chartbl[0x7c] = '0xf7'; - chartbl[0x7d] = '0xd1'; - chartbl[0x7e] = '0xf1'; - chartbl[0x7f] = '0xa4'; /* FIXME: this should be a solid block */ + chartbl[0x2a] = 0xe1; /* Latin Small Letter A with acute */ + chartbl[0x5c] = 0xe9; /* Latin Small Letter E with acute */ + chartbl[0x5e] = 0xed; /* Latin Small Letter I with acute */ + chartbl[0x5f] = 0xf3; /* Latin Small Letter O with acute */ + chartbl[0x60] = 0xfa; /* Latin Small Letter U with acute */ + chartbl[0x7b] = 0xe7; /* Latin Small Letter C with cedilla */ + chartbl[0x7c] = 0xf7; /* Division sign */ + chartbl[0x7d] = 0xd1; /* Latin Capital letter N with tilde */ + chartbl[0x7e] = 0xf1; /* Latin Small Letter N with tilde */ + chartbl[0x7f] = 0xa4; /* Currency sign FIXME: this should be a solid block */ } static void clear_buffer(subtitle *buf)