Use MAX_PATH for array used for filename.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27547 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ccdaf0a834
commit
1828a753a8
1 changed files with 1 additions and 2 deletions
|
@ -773,8 +773,6 @@ void sound_settings_apply(void)
|
|||
|
||||
void settings_apply(bool read_disk)
|
||||
{
|
||||
|
||||
char buf[64];
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
int rc;
|
||||
#endif
|
||||
|
@ -868,6 +866,7 @@ void settings_apply(bool read_disk)
|
|||
|
||||
if (read_disk)
|
||||
{
|
||||
char buf[MAX_PATH];
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
/* fonts need to be loaded before the WPS */
|
||||
if (global_settings.font_file[0]
|
||||
|
|
Loading…
Reference in a new issue