From 61fe9f50f9656003ae2f5461948761a1fbe83ed9 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 23 Mar 2010 15:31:48 +0000 Subject: [PATCH] Fix locale switch git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@525 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/50f1228ccfcc36bf7dff9a91466554c3e79df60b Author: [CST] Focus Date: 2010-03-23 (Tue, 23 Mar 2010) ------------------ This commit was generated by Migit --- src/gui/widget/menue.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 2d5987ad9..7ddec7388 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -866,6 +866,9 @@ int CMenuOptionChooser::paint( bool selected , bool last) { CFrameBuffer * frameBuffer = CFrameBuffer::getInstance(); + if(optionName != NONEXISTANT_LOCALE) + optionNameString = g_Locale->getText(optionName); + unsigned char color = COL_MENUCONTENT; fb_pixel_t bgcolor = COL_MENUCONTENT_PLUS_0; if (selected)