forked from len0rd/rockbox
Fix Red lastfm_scrobbler_viewer.c
plugins need rb-> for things like strlen Change-Id: Ia3b52423d3f7f91c2996aa9b9b194f39af44468f
This commit is contained in:
parent
dfe12252bb
commit
100e9ac137
1 changed files with 4 additions and 4 deletions
|
@ -102,7 +102,7 @@ static struct plugin_config
|
||||||
bool separator;
|
bool separator;
|
||||||
bool talk;
|
bool talk;
|
||||||
int col_width;
|
int col_width;
|
||||||
uint32_t hidecol_flags;
|
int hidecol_flags;
|
||||||
} gConfig;
|
} gConfig;
|
||||||
|
|
||||||
static struct configdata config[] =
|
static struct configdata config[] =
|
||||||
|
@ -468,7 +468,7 @@ static int filter_items(struct printcell_data_t *pc_data,
|
||||||
char *find_exclude = printcell_get_column_text(selcol, find_exclude_buf,
|
char *find_exclude = printcell_get_column_text(selcol, find_exclude_buf,
|
||||||
sizeof(find_exclude_buf));
|
sizeof(find_exclude_buf));
|
||||||
const char colsep = '\t';
|
const char colsep = '\t';
|
||||||
int find_len = strlen(find_exclude);
|
int find_len = rb->strlen(find_exclude);
|
||||||
|
|
||||||
if (find_type == FIND_CUSTOM || find_len == 0)
|
if (find_type == FIND_CUSTOM || find_len == 0)
|
||||||
{
|
{
|
||||||
|
@ -515,7 +515,7 @@ static int filter_items(struct printcell_data_t *pc_data,
|
||||||
if (rb->kbd_input(find_exclude_buf, sizeof(find_exclude_buf), NULL) < 0)
|
if (rb->kbd_input(find_exclude_buf, sizeof(find_exclude_buf), NULL) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
find_exclude = find_exclude_buf;
|
find_exclude = find_exclude_buf;
|
||||||
find_len = strlen(find_exclude);
|
find_len = rb->strlen(find_exclude);
|
||||||
}
|
}
|
||||||
|
|
||||||
char tmp_filename[MAX_PATH];
|
char tmp_filename[MAX_PATH];
|
||||||
|
@ -616,7 +616,7 @@ static int filter_items(struct printcell_data_t *pc_data,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int len = strlen(data);
|
int len = rb->strlen(data);
|
||||||
if (len > 0)
|
if (len > 0)
|
||||||
{
|
{
|
||||||
logf("writing [%d bytes][%s]", len + 1, data);
|
logf("writing [%d bytes][%s]", len + 1, data);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue