summaryrefslogtreecommitdiff
path: root/apps/plugins/star.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r--apps/plugins/star.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index 5b100707d0..f5f281bf13 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -448,19 +448,19 @@ static void star_display_text(char *str, bool waitkey)
448 448
449 line[chars_for_line] = '\0'; 449 line[chars_for_line] = '\0';
450 450
451 // test if we have cutted a word. If it is the case we don't have to 451 /* test if we have cutted a word. If it is the case we don't have to */
452 // skip the space 452 /* skip the space */
453 if (i == chars_by_line && chars_for_line == chars_by_line) 453 if (i == chars_by_line && chars_for_line == chars_by_line)
454 first_char_index += chars_for_line; 454 first_char_index += chars_for_line;
455 else 455 else
456 first_char_index += chars_for_line + 1; 456 first_char_index += chars_for_line + 1;
457 457
458 // print the line on the screen 458 /* print the line on the screen */
459 rb->lcd_putsxy(0, current_line * char_height, line); 459 rb->lcd_putsxy(0, current_line * char_height, line);
460 460
461 // if the number of line showed on the screen is equals to the 461 /* if the number of line showed on the screen is equals to the */
462 // maximum number of line we can show, we wait for a key pressed to 462 /* maximum number of line we can show, we wait for a key pressed to */
463 // clear and show the remaining text. 463 /* clear and show the remaining text. */
464 current_line++; 464 current_line++;
465 if (current_line == lines_by_screen || *ptr_char == '\0') 465 if (current_line == lines_by_screen || *ptr_char == '\0')
466 { 466 {