mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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)
|
void settings_apply(bool read_disk)
|
||||||
{
|
{
|
||||||
|
|
||||||
char buf[64];
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
int rc;
|
int rc;
|
||||||
#endif
|
#endif
|
||||||
|
@ -868,6 +866,7 @@ void settings_apply(bool read_disk)
|
||||||
|
|
||||||
if (read_disk)
|
if (read_disk)
|
||||||
{
|
{
|
||||||
|
char buf[MAX_PATH];
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
/* fonts need to be loaded before the WPS */
|
/* fonts need to be loaded before the WPS */
|
||||||
if (global_settings.font_file[0]
|
if (global_settings.font_file[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue