use var passed by reference

Conflicts:
	src/gui/components/cc_frm.h
	src/gui/components/cc_frm_icons.cpp


Origin commit data
------------------
Commit: b386f7bbd2
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-04-18 (Thu, 18 Apr 2013)
This commit is contained in:
Jacek Jendrzej
2013-04-18 19:19:30 +02:00
committed by [CST] Focus
parent 426105bf4d
commit f5648458fc
10 changed files with 34 additions and 34 deletions

View File

@@ -614,7 +614,7 @@ int find_next_char(char to_find, char *text, int start_pos, int end_pos)
}
//void CMovieInfo::strReplace(std::string& orig, const char* fstr, const std::string rstr)
void strReplace(std::string & orig, const char *fstr, const std::string rstr)
void strReplace(std::string & orig, const char *fstr, const std::string &rstr)
{
// replace all occurrence of fstr with rstr and, and returns a reference to itself
size_t index = 0;