diff options
Diffstat (limited to 'apps/plugins/random_folder_advance_config.c')
-rw-r--r-- | apps/plugins/random_folder_advance_config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/random_folder_advance_config.c b/apps/plugins/random_folder_advance_config.c index c9ffaed319..ba3f0d3f7e 100644 --- a/apps/plugins/random_folder_advance_config.c +++ b/apps/plugins/random_folder_advance_config.c @@ -234,7 +234,9 @@ void generate(void) rb->close(fd); rb->splash(HZ, "Done"); } -char *list_get_name_cb(int selected_item, void* data, char* buf, size_t buf_len) + +static const char* list_get_name_cb(int selected_item, void* data, + char* buf, size_t buf_len) { (void)data; rb->strlcpy(buf, list->folder[selected_item], buf_len); |