wok view le/stuff/gcc-4.patch @ rev 16597
ARM: Add python-pifacecommon python-pifacedigitalio (let play with PiFace)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 07 14:57:33 2014 +0200 (2014-05-07) |
parents | |
children |
line source
1 --- src/options.cc 2009-09-22 20:30:26.000000000 +0200
2 +++ src/options.cc 2009-09-22 20:30:01.000000000 +0200
3 @@ -1245,7 +1245,7 @@
4 FindColor(new_bw_pal,color_no));
5 return -1;
6 }
7 - char *l=strchr(button,'&');
8 + const char *l=strchr(button,'&');
9 if(!l)
10 return -1;
11 char res=toupper(l[1]);