Просмотр исходного кода

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 3 лет назад
Родитель
Сommit
975ee0c009
1 измененных файлов с 1 добавлено и 1 удалено
  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:
  *                              "\e#Bold text\e#" - bold 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
  */
 void elements_text_box(