mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
convert a few more strlcpy to strmemccpy calls Fix Red and Yellow
albumart is imported to plugins just use a macro substitution for now Change-Id: I7c2e10d7559c087f0b3d0e6b844027d3b323da55
This commit is contained in:
parent
aea324b746
commit
687767bd8f
5 changed files with 13 additions and 7 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "filetree.h"
|
||||
#include "wps.h"
|
||||
#include "playback.h"
|
||||
#include "string-extra.h"
|
||||
|
||||
/*
|
||||
* This macro is meant to be used inside an IAP mode message handler.
|
||||
|
@ -1430,7 +1431,6 @@ void iap_handlepkt_mode4(const unsigned int len, const unsigned char *buf)
|
|||
unsigned int number_of_playlists = nbr_total_playlists();
|
||||
uint32_t trackcount;
|
||||
trackcount = playlist_amount();
|
||||
size_t len;
|
||||
|
||||
if ((buf[3] == 0x05) && ((start_index + read_count ) > trackcount))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue