python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / matchbox-panel / 0001-index-is-legacy.patch
blob925c326e710accdfa14553ba7179b533832becfc
1 Replace the legacy index() with strchr()
3 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4 ---
5 applets/mb-applet-menu-launcher.c | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
8 Index: matchbox-panel-0.9.3/applets/mb-applet-menu-launcher.c
9 ===================================================================
10 --- matchbox-panel-0.9.3.orig/applets/mb-applet-menu-launcher.c
11 +++ matchbox-panel-0.9.3/applets/mb-applet-menu-launcher.c
12 @@ -280,7 +280,7 @@
13 DBG("\tkey %s ", key);
14 if (*(++p) == '"') { p++; tc = sc; } /* skip "'s */
15 val = p;
16 - while(index(tc,*p) == NULL)
17 + while(strchr(tc,*p) == NULL)
19 if (*p == '\\' && *(p+1) == '"') p++; /* skip \" */
20 p++;