diff options
author | William Wilgus <wilgus.william@gmail.com> | 2023-04-17 00:36:04 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2023-04-17 00:36:04 -0400 |
commit | 100e9ac137179d0a9b604042a4c1363f46b10d9c (patch) | |
tree | bd3974ff3654b64fb416807f39f9d13d37458017 /apps/plugins | |
parent | dfe12252bba8cbfe427752ad9ed101002a76fe67 (diff) | |
download | rockbox-100e9ac137179d0a9b604042a4c1363f46b10d9c.tar.gz rockbox-100e9ac137179d0a9b604042a4c1363f46b10d9c.zip |
Fix Red lastfm_scrobbler_viewer.c
plugins need rb-> for things like strlen
Change-Id: Ia3b52423d3f7f91c2996aa9b9b194f39af44468f
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/lastfm_scrobbler_viewer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/lastfm_scrobbler_viewer.c b/apps/plugins/lastfm_scrobbler_viewer.c index 8f533ef5f7..c8b125c293 100644 --- a/apps/plugins/lastfm_scrobbler_viewer.c +++ b/apps/plugins/lastfm_scrobbler_viewer.c | |||
@@ -102,7 +102,7 @@ static struct plugin_config | |||
102 | bool separator; | 102 | bool separator; |
103 | bool talk; | 103 | bool talk; |
104 | int col_width; | 104 | int col_width; |
105 | uint32_t hidecol_flags; | 105 | int hidecol_flags; |
106 | } gConfig; | 106 | } gConfig; |
107 | 107 | ||
108 | static struct configdata config[] = | 108 | static struct configdata config[] = |
@@ -468,7 +468,7 @@ static int filter_items(struct printcell_data_t *pc_data, | |||
468 | char *find_exclude = printcell_get_column_text(selcol, find_exclude_buf, | 468 | char *find_exclude = printcell_get_column_text(selcol, find_exclude_buf, |
469 | sizeof(find_exclude_buf)); | 469 | sizeof(find_exclude_buf)); |
470 | const char colsep = '\t'; | 470 | const char colsep = '\t'; |
471 | int find_len = strlen(find_exclude); | 471 | int find_len = rb->strlen(find_exclude); |
472 | 472 | ||
473 | if (find_type == FIND_CUSTOM || find_len == 0) | 473 | if (find_type == FIND_CUSTOM || find_len == 0) |
474 | { | 474 | { |
@@ -515,7 +515,7 @@ static int filter_items(struct printcell_data_t *pc_data, | |||
515 | if (rb->kbd_input(find_exclude_buf, sizeof(find_exclude_buf), NULL) < 0) | 515 | if (rb->kbd_input(find_exclude_buf, sizeof(find_exclude_buf), NULL) < 0) |
516 | return -1; | 516 | return -1; |
517 | find_exclude = find_exclude_buf; | 517 | find_exclude = find_exclude_buf; |
518 | find_len = strlen(find_exclude); | 518 | find_len = rb->strlen(find_exclude); |
519 | } | 519 | } |
520 | 520 | ||
521 | char tmp_filename[MAX_PATH]; | 521 | char tmp_filename[MAX_PATH]; |
@@ -616,7 +616,7 @@ static int filter_items(struct printcell_data_t *pc_data, | |||
616 | } | 616 | } |
617 | } | 617 | } |
618 | } | 618 | } |
619 | int len = strlen(data); | 619 | int len = rb->strlen(data); |
620 | if (len > 0) | 620 | if (len > 0) |
621 | { | 621 | { |
622 | logf("writing [%d bytes][%s]", len + 1, data); | 622 | logf("writing [%d bytes][%s]", len + 1, data); |