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

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

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Astra 2022-07-14 19:58:52 +03:00 committed by GitHub
parent 2caa5c3064
commit 975ee0c009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(