Mercurial > public > ostc4
diff Discovery/Src/tMenuGas.c @ 1076:c87753e73eb8 Icon_Integration
Dev bugfix 50 pixel spacing:
the control char '\007' was used for the new 50 pixel format style. This character was already in use as '\a' invert (same value different spelling) => The 50 pixel format has been switched to the control char '\033' which is not in use.
| author | Ideenmodellierer |
|---|---|
| date | Sun, 22 Feb 2026 21:23:57 +0100 |
| parents | eceb5cb2a8e3 |
| children |
line wrap: on
line diff
--- a/Discovery/Src/tMenuGas.c Sun Feb 22 20:00:00 2026 +0100 +++ b/Discovery/Src/tMenuGas.c Sun Feb 22 21:23:57 2026 +0100 @@ -192,17 +192,17 @@ #ifdef ENABLE_ADVANCED_GAS if( ltr != 0) { - textPointer += snprintf(&text[textPointer], 20,"\007 %2u\016\016ltr\017",ltr); + textPointer += snprintf(&text[textPointer], 20,"\033 %2u\016\016ltr\017",ltr); } else { - text[textPointer++] = '\007'; - text[textPointer++] = '\007'; - text[textPointer++] = '\007'; + text[textPointer++] = '\033'; + text[textPointer++] = '\033'; + text[textPointer++] = '\033'; } if( bar != 0) { - textPointer += snprintf(&text[textPointer], 20,"\007 %2u\016\016bar\017",bar); + textPointer += snprintf(&text[textPointer], 20,"\033 %2u\016\016bar\017",bar); } #endif @@ -283,7 +283,7 @@ { textPointer += snprintf(&text[textPointer], 12,\ "%c" - "\007\007%2u" + "\033\033%2u" "\016\016" "ltr" "\017" @@ -292,16 +292,16 @@ } else { - text[textPointer++] = '\007'; - text[textPointer++] = '\007'; - text[textPointer++] = '\007'; + text[textPointer++] = '\033'; + text[textPointer++] = '\033'; + text[textPointer++] = '\033'; } /* bar */ if(bar != 0) { textPointer += snprintf(&text[textPointer], 12,\ "%c" - "\007%3u" + "\033%3u" "\016\016" "bar" "\017",
