Backport r31140: Reduce stack allocation for remote screendump. The screendump filename is generated and known, so we don't need MAX_PATH.

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31141 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2011-12-04 17:18:52 +00:00
parent 0711dd10ac
commit 51b2db366a

View file

@ -283,7 +283,7 @@ static const unsigned char rbmpheader[] =
void remote_screen_dump(void)
{
int fd, y;
char filename[MAX_PATH];
char filename[32];
fb_remote_data *src;
#if LCD_REMOTE_DEPTH == 1