Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: tech.diff



Martin Neuditschko <yosuke.tomoe@gmx.net> schrieb:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 12754)]
> 0x08069e00 in DisplayInfo__15cDisplayChannel (this=0x2e2e2e2e) at menu.c:3031
> 3031        for (i=0; i<ssX; i++) barSS[i] = '.';

Perhaps the signal strength value is > 20?

try 

*** 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';





Home | Main Index | Thread Index