Explorar el Código

Change # to ! for the inverted text example (#1395)

The code already works with "!", but the comment was wrong.

Co-authored-by: あく <alleteam@gmail.com>
Astra hace 3 años
padre
commit
975ee0c009
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      applications/gui/elements.h

+ 1 - 1
applications/gui/elements.h

@@ -204,7 +204,7 @@ void elements_string_fit_width(Canvas* canvas, string_t string, uint8_t width);
  * @param[in]   text            Formatted text. The following formats are available:
  * @param[in]   text            Formatted text. The following formats are available:
  *                              "\e#Bold text\e#" - bold font is used
  *                              "\e#Bold text\e#" - bold font is used
  *                              "\e*Monospaced text\e*" - monospaced font is used
  *                              "\e*Monospaced text\e*" - monospaced font is used
- *                              "\e#Inversed text\e#" - white text on black background
+ *                              "\e!Inversed text\e!" - white text on black background
  * @param      strip_to_dots    Strip text to ... if does not fit to width
  * @param      strip_to_dots    Strip text to ... if does not fit to width
  */
  */
 void elements_text_box(
 void elements_text_box(