summaryrefslogtreecommitdiff
path: root/apps/recorder/albumart.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-05-03 22:54:33 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2022-05-03 23:00:58 -0400
commit79864c6ec22370ae31d3259a17e0c93db3cdae61 (patch)
tree6de3a54700d84db34eab150740006dd74d359cd2 /apps/recorder/albumart.c
parent4dd3c2b33ec3d181f54cc1bcf5b596401a8cfcbb (diff)
downloadrockbox-79864c6ec22370ae31d3259a17e0c93db3cdae61.tar.gz
rockbox-79864c6ec22370ae31d3259a17e0c93db3cdae61.zip
add const to const * strings
I don't think this will amke any difference except maybe for hosted ports Change-Id: I84f898aea92a6963901a6d889dd18b63f24c9a41
Diffstat (limited to 'apps/recorder/albumart.c')
-rw-r--r--apps/recorder/albumart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c
index 5b3658a1cb..9ff9c72f80 100644
--- a/apps/recorder/albumart.c
+++ b/apps/recorder/albumart.c
@@ -98,7 +98,7 @@ static void fix_path_part(char* path, int offset, int count)
98} 98}
99 99
100#ifdef USE_JPEG_COVER 100#ifdef USE_JPEG_COVER
101static const char * extensions[] = { "jpeg", "jpg", "bmp" }; 101static const char * const extensions[] = { "jpeg", "jpg", "bmp" };
102static const unsigned char extension_lens[] = { 4, 3, 3 }; 102static const unsigned char extension_lens[] = { 4, 3, 3 };
103/* Try checking for several file extensions, return true if a file is found and 103/* Try checking for several file extensions, return true if a file is found and
104 * leaving the path modified to include the matching extension. 104 * leaving the path modified to include the matching extension.