summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/lrcplayer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/lrcplayer.c b/apps/plugins/lrcplayer.c
index 9f43849d5b..c31b607414 100644
--- a/apps/plugins/lrcplayer.c
+++ b/apps/plugins/lrcplayer.c
@@ -36,7 +36,7 @@
36/* #define LRC_DEBUG */ 36/* #define LRC_DEBUG */
37 37
38enum lrc_screen { 38enum lrc_screen {
39 PLUGIN_OTHER = 10, 39 PLUGIN_OTHER = 0x200,
40 LRC_GOTO_MAIN, 40 LRC_GOTO_MAIN,
41 LRC_GOTO_MENU, 41 LRC_GOTO_MENU,
42 LRC_GOTO_EDITOR, 42 LRC_GOTO_EDITOR,
@@ -1719,14 +1719,14 @@ static int display_lrc_line(struct lrc_line *lrc_line, int ypos, int i)
1719 if (current.wipe && active_line && len >= 3500) 1719 if (current.wipe && active_line && len >= 3500)
1720 { 1720 {
1721 elapsed = rin * vp_lyrics[i].width / len; 1721 elapsed = rin * vp_lyrics[i].width / len;
1722 set_to_inactive(display);
1723 display->fillrect(elapsed, ypos+font_ui_height/4+1,
1724 vp_lyrics[i].width-elapsed-1, font_ui_height/2-2);
1722 set_to_active(display); 1725 set_to_active(display);
1723 display->drawrect(0, ypos+font_ui_height/4, 1726 display->drawrect(0, ypos+font_ui_height/4,
1724 vp_lyrics[i].width, font_ui_height/2); 1727 vp_lyrics[i].width, font_ui_height/2);
1725 display->fillrect(1, ypos+font_ui_height/4+1, 1728 display->fillrect(1, ypos+font_ui_height/4+1,
1726 elapsed-1, font_ui_height/2-2); 1729 elapsed-1, font_ui_height/2-2);
1727 set_to_inactive(display);
1728 display->fillrect(elapsed, ypos+font_ui_height/4+1,
1729 vp_lyrics[i].width-elapsed-1, font_ui_height/2-2);
1730 set_to_default(display); 1730 set_to_default(display);
1731 } 1731 }
1732 return ypos + font_ui_height; 1732 return ypos + font_ui_height;
@@ -2937,7 +2937,7 @@ enum plugin_status plugin_start(const void* parameter)
2937 if (!ext) ext = current.lrc_file; 2937 if (!ext) ext = current.lrc_file;
2938 for (current.type = 0; current.type < NUM_TYPES; current.type++) 2938 for (current.type = 0; current.type < NUM_TYPES; current.type++)
2939 { 2939 {
2940 if (!rb->strcmp(ext, extentions[current.type])) 2940 if (!rb->strcasecmp(ext, extentions[current.type]))
2941 break; 2941 break;
2942 } 2942 }
2943 if (current.type == NUM_TYPES) 2943 if (current.type == NUM_TYPES)