Skip to content

Commit

Permalink
Change # to ! for the inverted text example (#1395)
Browse files Browse the repository at this point in the history
The code already works with "!", but the comment was wrong.

Co-authored-by: あく <[email protected]>
  • Loading branch information
Astrrra and skotopes authored Jul 14, 2022
1 parent 2caa5c3 commit 975ee0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/gui/elements.h
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 975ee0c

Please sign in to comment.