From 130863fabf84be5f475e650a1e67c96dd2398192 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 11 Nov 2016 08:51:35 +0100 Subject: [PATCH] moviebrowser: remove obsolete strReplace() function Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/a57ef577144278d806ea907e6e7cb754fc64334a Author: vanhofen Date: 2016-11-11 (Fri, 11 Nov 2016) Origin message was: ------------------ - moviebrowser: remove obsolete strReplace() function --- src/gui/moviebrowser/mb.h | 1 - src/gui/moviebrowser/mb_functions.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/gui/moviebrowser/mb.h b/src/gui/moviebrowser/mb.h index 3bd73fa17..b5f224185 100644 --- a/src/gui/moviebrowser/mb.h +++ b/src/gui/moviebrowser/mb.h @@ -65,7 +65,6 @@ /* percent */ #define MIN_BROWSER_FRAME_HEIGHT 10 #define MAX_BROWSER_FRAME_HEIGHT 80 -// void strReplace(std::string& orig, const char* fstr, const std::string &rstr); #define MB_MAX_ROWS LF_MAX_ROWS #define MB_MAX_DIRS NETWORK_NFS_NR_OF_ENTRIES diff --git a/src/gui/moviebrowser/mb_functions.h b/src/gui/moviebrowser/mb_functions.h index a5fd547d3..b83a9b405 100644 --- a/src/gui/moviebrowser/mb_functions.h +++ b/src/gui/moviebrowser/mb_functions.h @@ -43,8 +43,6 @@ #include "mb_types.h" #include -void strReplace(std::string& orig, const char* fstr, const std::string &rstr); - static std::string rateFormat(int i) { return to_string(i/10) + "," + to_string(i%10);