From 7236cf6f48e7f3c55b317836d9f2b9d850b569eb Mon Sep 17 00:00:00 2001 From: TangoCash Date: Mon, 19 Jun 2017 20:02:24 +0200 Subject: [PATCH] moviebrowser: fix directory count (thx dbo) Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/7b0eb94e76600abebb6b511425e24879a6dac56a Author: TangoCash Date: 2017-06-19 (Mon, 19 Jun 2017) Origin message was: ------------------ -moviebrowser: fix directory count (thx dbo) --- 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 969511804..9bcf061cb 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -2871,7 +2871,7 @@ void CMovieBrowser::loadAllTsFileNamesFromStorage(void) for (i=0; i < size;i++) { if (*m_dir[i].used == true){ - OnGlobalProgress(i, size, m_dir[i].name); + OnGlobalProgress(i + 1, size, m_dir[i].name); loadTsFileNamesFromDir(m_dir[i].name); } }