summaryrefslogtreecommitdiff
path: root/apps/plugins/playing_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/playing_time.c')
-rw-r--r--apps/plugins/playing_time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/playing_time.c b/apps/plugins/playing_time.c
index 292c6fa573..e465c35a18 100644
--- a/apps/plugins/playing_time.c
+++ b/apps/plugins/playing_time.c
@@ -64,7 +64,7 @@ struct playing_time_info {
64 int curr_index; /* index of currently playing track in playlist */ 64 int curr_index; /* index of currently playing track in playlist */
65 int curr_display_index; /* display index of currently playing track in playlist */ 65 int curr_display_index; /* display index of currently playing track in playlist */
66 int nb_tracks; /* how many tracks in playlist */ 66 int nb_tracks; /* how many tracks in playlist */
67 67
68 /* seconds total, before, and after current position. Datatype 68 /* seconds total, before, and after current position. Datatype
69 allows for values up to 68years. If I had kept it in ms 69 allows for values up to 68years. If I had kept it in ms
70 though, it would have overflowed at 24days, which takes 70 though, it would have overflowed at 24days, which takes
@@ -86,7 +86,7 @@ static char* get_percent_str(long percents)
86 return val; 86 return val;
87} 87}
88 88
89static inline void prepare_time_string(const char *buf, size_t buffer_len, long elapsed_pct, const char *timestr1, const char *timestr2) 89static inline void prepare_time_string(char *buf, size_t buffer_len, long elapsed_pct, const char *timestr1, const char *timestr2)
90{ 90{
91 if (rb->lang_is_rtl()) 91 if (rb->lang_is_rtl())
92 { 92 {