LCDproc development and user support list

Text archives Help


[Lcdproc] example menu?


Chronological Thread 
  • From: peter AT adpm.de (Peter Marschall)
  • Subject: [Lcdproc] example menu?
  • Date: Sat Jul 8 19:42:01 2006

Hi Jannis,

On Saturday, 8. July 2006 20:16, Jannis Achstetter wrote:
> I saw you changed the line to:
>
> *if* ((js.value > -20000) && (js.value < 20000) || (js.number >= 2 *
> p->axes))
>
> The code that I used is:
>
> if (((js.value > -20000) && (js.value < 20000)) || (js.number >= 2 *
> p->axes))
>
> I'm not sure how C handles the different expressions but my solution
> sounds more logical to me. I don't say the line you committed is
> wrong, honestly I just don't know. Maybe it's just a little mistake
> and you forgot the braces.

I guess you are right. Changes committed to CVS

BTW, that's why I prefer patches instead of textual descriptions.
With patches I don't need t count the braces myswlf ;-)

Thanks for the fix
Peter

--
Peter Marschall
peter AT adpm.de




Archive powered by MHonArc 2.6.18.

Top of page