summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index 8c3d6f8..f4cf248 100644
--- a/setup.c
+++ b/setup.c
@@ -244,10 +244,11 @@ cVFDMenuSetup::cVFDMenuSetup(cVFDWatch* pDev)
&m_tmpSetup.m_nBrightness,
memberof(szBrightness), szBrightness));
- static const char * szRenderMode[3];
+ static const char * szRenderMode[eRenderMode_LASTITEM];
szRenderMode[eRenderMode_SingleLine] = tr("Single line");
szRenderMode[eRenderMode_DualLine] = tr("Dual lines");
szRenderMode[eRenderMode_SingleTopic] = tr("Only topic");
+ szRenderMode[eRenderMode_MultiPage] = tr("Multiple pages");
Add(new cMenuEditStraItem(tr("Render mode"),
&m_tmpSetup.m_nRenderMode,