summaryrefslogtreecommitdiff
path: root/firmware/id3.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/id3.c')
-rw-r--r--firmware/id3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index 55d6608a75..448fcb22f3 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -193,7 +193,7 @@ char* id3_get_num_genre(const unsigned int genre_num)
193} 193}
194 194
195/* True if the string is from the "genres" array */ 195/* True if the string is from the "genres" array */
196bool id3_is_genre_string(const char *string) 196static bool id3_is_genre_string(const char *string)
197{ 197{
198 return ( string >= genres[0] && 198 return ( string >= genres[0] &&
199 string <= genres[sizeof(genres)/sizeof(char*) - 1] ); 199 string <= genres[sizeof(genres)/sizeof(char*) - 1] );