Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: tech.diff
On 22 Jun 2002 Michael Stuermer <lists@mallorn.de> wrote:
> *** menu.c.old Fri Jun 21 23:01:56 2002
> --- menu.c Fri Jun 21 23:01:35 2002
> ***************
> *** 3026,3031 ****
> --- 3026,3032 ----
> // which kind of values can SNR have??? how should I map them on a visual indicator? I obtain positive and negative values...
> char barSS[21];
> int i;
> + if (ssX > 20) { ssX = 20; }
> for (i=0; i<ssX; i++) barSS[i] = '.';
> for (;i<21; i++) barSS[i] = ' ';
> barSS[21] = '\0';
^^^^^
Error! barSS is [21], which means max. index is 20 (from 0 to
20)!!!
--
Stefan Huelswitt
huels@iname.com | http://home.pages.de/~nathan
Home |
Main Index |
Thread Index