diff options
Diffstat (limited to 'apps/radio/radioart.c')
-rw-r--r-- | apps/radio/radioart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/radio/radioart.c b/apps/radio/radioart.c index 34efdea0da..ce774ac4b1 100644 --- a/apps/radio/radioart.c +++ b/apps/radio/radioart.c @@ -82,7 +82,7 @@ static int load_radioart_image(struct radioart *ra, const char* preset_name, #endif return -1; } - strlcpy(ra->name, preset_name, MAX_FMPRESET_LEN+1); + strmemccpy(ra->name, preset_name, MAX_FMPRESET_LEN+1); ra->dim.height = dim->height; ra->dim.width = dim->width; ra->last_tick = current_tick; @@ -202,7 +202,7 @@ void radioart_init(bool entering_screen) { /* grab control over buffering */ size_t bufsize; - int handle = core_alloc_maximum("radioart", &bufsize, &radioart_ops); + int handle = core_alloc_maximum(&bufsize, &radioart_ops); if (handle <0) { splash(HZ, "Radioart Failed - OOM"); |