diff Discovery/Src/t7.c @ 510:0004704906d0

Display warning in t7 using centered strings
author Ideenmodellierer
date Sun, 30 Aug 2020 17:26:52 +0200
parents cf06c12c06d1
children 85e0945552ce
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;
 				}