wok-next diff le/stuff/gcc-4.patch @ rev 20629

Up aalib, babl, exiv2, fontconfig, gnome-themes-standard, json-glib, mousepad
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 26 21:51:47 2018 +0300 (2018-04-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/le/stuff/gcc-4.patch	Thu Apr 26 21:51:47 2018 +0300
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- src/options.cc	2009-09-22 20:30:26.000000000 +0200
     1.5 ++++ src/options.cc	2009-09-22 20:30:01.000000000 +0200
     1.6 +@@ -1245,7 +1245,7 @@
     1.7 +                 FindColor(new_bw_pal,color_no));
     1.8 +       return -1;
     1.9 +    }
    1.10 +-   char *l=strchr(button,'&');
    1.11 ++   const char *l=strchr(button,'&');
    1.12 +    if(!l)
    1.13 +       return -1;
    1.14 +    char res=toupper(l[1]);