diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-06-09 14:40:26 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-06-09 14:40:26 +0200 |
commit | c020b708a523b35c1d2ef0c34c8a4e5d1d7b9a00 (patch) | |
tree | f74510b628bf8c404335e17f23bb3fda770a1b88 /osd.c | |
parent | 440c119b0a80d40d05f48613de46f367597a3f29 (diff) | |
download | vdr-c020b708a523b35c1d2ef0c34c8a4e5d1d7b9a00.tar.gz vdr-c020b708a523b35c1d2ef0c34c8a4e5d1d7b9a00.tar.bz2 |
Fixed several spelling errors
Diffstat (limited to 'osd.c')
-rw-r--r-- | osd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.c 2.31 2012/06/02 13:32:38 kls Exp $ + * $Id: osd.c 2.32 2012/06/09 14:37:24 kls Exp $ */ #include "osd.h" @@ -130,7 +130,7 @@ void cPalette::SetAntiAliasGranularity(uint FixedColors, uint BlendColors) antiAliasGranularity = MAXNUMCOLORS - 1; else { int ColorsForBlending = MAXNUMCOLORS - FixedColors; - int ColorsPerBlend = ColorsForBlending / BlendColors + 2; // +2 = the full foreground and background colors, which are amoung the fixed colors + int ColorsPerBlend = ColorsForBlending / BlendColors + 2; // +2 = the full foreground and background colors, which are among the fixed colors antiAliasGranularity = double(MAXNUMCOLORS - 1) / (ColorsPerBlend - 1); } } |