changeset 510:0004704906d0

Display warning in t7 using centered strings
author Ideenmodellierer
date Sun, 30 Aug 2020 17:26:52 +0200
parents 56824129dd56
children 5185ade91096
files Discovery/Src/t7.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/t7.c	Sun Aug 30 17:26:00 2020 +0200
+++ b/Discovery/Src/t7.c	Sun Aug 30 17:26:52 2020 +0200
@@ -1410,7 +1410,7 @@
 
     textpointer = 0;
     lineFree = 5;
-
+    text[textpointer++] = '\001';
     if(lineFree && stateUsed->warnings.decoMissed)
     {
         text[textpointer++] = TXT_2BYTE;
@@ -1589,9 +1589,9 @@
 		{
 			case ACTION_BUTTON_ENTER:
 			case ACTION_PITCH_POS:
-						if(*pViews != CVIEW_T3_END)
+						if(*pViews != CVIEW_END)
 					pViews++;
-						if(*pViews == CVIEW_T3_END)
+						if(*pViews == CVIEW_END)
 				{
 					pViews = pStartView;
 				}