forked from len0rd/rockbox
Fix red: Protect viewport RTL flag manipulation with #ifdef HAVE_LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22973 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
45f004de25
commit
5da75070c1
2 changed files with 8 additions and 0 deletions
|
@ -25,7 +25,9 @@
|
|||
#include "lang.h"
|
||||
#include "debug.h"
|
||||
#include "string.h"
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
#include "viewport.h"
|
||||
#endif
|
||||
|
||||
/* The following header is generated by the build system and only defines
|
||||
MAX_LANGUAGE_SIZE to be the size of the largest currently available
|
||||
|
@ -114,7 +116,9 @@ int lang_load(const char *filename)
|
|||
else
|
||||
{
|
||||
lang_options = lang_header[3];
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
viewportmanager_theme_changed(THEME_UI_VIEWPORT);
|
||||
#endif
|
||||
}
|
||||
return retcode;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue