# HG changeset patch
# User Ideenmodellierer
# Date 1602083727 -7200
# Node ID 54c5ec8416c4cdc82033c605172fc2c1f5961f9c
# Parent  666cafac87ab796f6105bb4d4a8a69f9113f38e4
Changed visualization of Depth / temperatur / debugview entry
Without debug view schema 0 is not displayed while it was shown in case of an activated debug view. Changed implementation to have the same look independend from active state of debug view

diff -r 666cafac87ab -r 54c5ec8416c4 Discovery/Src/tMenuSystem.c
--- a/Discovery/Src/tMenuSystem.c	Wed Oct 07 17:12:44 2020 +0200
+++ b/Discovery/Src/tMenuSystem.c	Wed Oct 07 17:15:27 2020 +0200
@@ -195,12 +195,9 @@
 
             if(data->tX_colorscheme != 0)
             {
-                text[textPointer++] = ' ';
-                text[textPointer++] = ' ';
-                text[textPointer++] = ' ';
-                text[textPointer++] = ' ';
+            	text[textPointer++] = ' ';
+                text[textPointer++] = '/';
                 text[textPointer++] = '\027';
-                text[textPointer++] = '/';
                 text[textPointer++] = ' ';
                 text[textPointer++] = '0' + data->tX_colorscheme;
                 text[textPointer++] = '\020';
@@ -211,27 +208,32 @@
             if(data->nonMetricalSystem == 0)
             {
             text[textPointer++] = 'm';
+            text[textPointer++] = ' ';
             text[textPointer++] = '/';
+            text[textPointer++] = ' ';
             text[textPointer++] = 'C';
+            text[textPointer++] = ' ';
             }
             else
             {
             text[textPointer++] = 'f';
             text[textPointer++] = 't';
-            text[textPointer++] = '/';
-            text[textPointer++] = 'F';
-            }
-
             text[textPointer++] = ' ';
-            text[textPointer++] = ' ';
-            text[textPointer++] = ' ';
-            text[textPointer++] = ' ';
-            text[textPointer++] = '\027';
             text[textPointer++] = '/';
             text[textPointer++] = ' ';
-            text[textPointer++] = '0' + data->tX_colorscheme;
-            text[textPointer++] = '\020';
+            text[textPointer++] = 'F';
             text[textPointer++] = ' ';
+            }
+            if(data->tX_colorscheme != 0)
+            {
+            	text[textPointer++] = '/';
+            	text[textPointer++] = '\027';
+            	text[textPointer++] = ' ';
+            	text[textPointer++] = '0' + data->tX_colorscheme;
+            	text[textPointer++] = ' ';
+            	text[textPointer++] = '\020';
+            }
+            text[textPointer++] = '/';
             text[textPointer++] = ' ';
             text[textPointer++] = 'd';
             text[textPointer++] = 'e';