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:
Thomas Martitz 2010-07-25 14:29:06 +00:00
parent ccdaf0a834
commit 1828a753a8

View file

@ -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]