Fix locale switch

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@525 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-03-23 15:31:48 +00:00
parent 08be423e86
commit 50f1228ccf

View File

@@ -866,6 +866,9 @@ int CMenuOptionChooser::paint( bool selected , bool last)
{ {
CFrameBuffer * frameBuffer = CFrameBuffer::getInstance(); CFrameBuffer * frameBuffer = CFrameBuffer::getInstance();
if(optionName != NONEXISTANT_LOCALE)
optionNameString = g_Locale->getText(optionName);
unsigned char color = COL_MENUCONTENT; unsigned char color = COL_MENUCONTENT;
fb_pixel_t bgcolor = COL_MENUCONTENT_PLUS_0; fb_pixel_t bgcolor = COL_MENUCONTENT_PLUS_0;
if (selected) if (selected)