LCDproc development and user support list

Text archives Help


[Lcdproc] Bug fix for ring and checkbox menu items


Chronological Thread 
  • From: martin at brasskipper.org.uk (Martin T Jones)
  • Subject: [Lcdproc] Bug fix for ring and checkbox menu items
  • Date: Wed, 26 Dec 2012 21:44:30 +0000

Hello,

I hope everyone had a merry Christmas.

I have attached a patch to fix a problem when using the left key to
change the ring and checkbox menu items. The old code used
modulus which does not give the required result, for C (ISO 1990) and
before the result is implementation defined so may have worked for some
compilers / targets but from C (ISO 1999) onwards the sign of the result
comes from the dividend so will not work.

Happy New Year

Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ring.patch
Type: text/x-patch
Size: 1317 bytes
Desc: not available
URL:
<http://lists.omnipotent.net/pipermail/lcdproc/attachments/20121226/c6905d2b/attachment-0001.bin>




Archive powered by MHonArc 2.6.18.

Top of page