From 15ef2615419f46c67abccded8ebb6b4d34bfea83 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 23 Oct 2016 21:51:34 +0200 Subject: [PATCH] moviebrowser: show minutes in two-digits format Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/4d93168cf64619c3433f69f2646513d3aa246a85 Author: vanhofen Date: 2016-10-23 (Sun, 23 Oct 2016) Origin message was: ------------------ - moviebrowser: show minutes in two-digits format --- src/gui/moviebrowser/mb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index fe136c50b..11f4c5156 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -3430,7 +3430,7 @@ bool CMovieBrowser::getMovieInfoItem(MI_MOVIE_INFO& movie_info, MB_INFO_ITEM ite *item_string = str_tmp; break; case MB_INFO_LENGTH: // = 18, - snprintf(str_tmp, sizeof(str_tmp),"%dh %dm", movie_info.length/60, movie_info.length%60); + snprintf(str_tmp, sizeof(str_tmp),"%dh %02dm", movie_info.length/60, movie_info.length%60); *item_string = str_tmp; break; case MB_INFO_SIZE: // = 19,