Fixed linefeeds. *sigh*
This commit is contained in:
@@ -232,7 +232,7 @@ ConfigFile::~ConfigFile()
|
||||
|
||||
void ConfigFile::fillBuffer() {
|
||||
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
|
||||
size_t i;
|
||||
string tempString("");
|
||||
@@ -261,7 +261,7 @@ void ConfigFile::fillBuffer() {
|
||||
|
||||
void ConfigFile::writeBuffer() const {
|
||||
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
|
||||
//write buffer to disc if enabled
|
||||
if(!noWriteAccess) {
|
||||
@@ -290,7 +290,7 @@ void ConfigFile::writeBuffer() const {
|
||||
|
||||
void ConfigFile::updateConfig(ConfigState myConfigState) {
|
||||
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
|
||||
size_t i;
|
||||
|
||||
@@ -377,7 +377,7 @@ void ConfigFile::updateConfig(ConfigState myConfigState) {
|
||||
|
||||
string ConfigFile::readConfigString(string varName) const
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
|
||||
size_t i;
|
||||
string tempString("");
|
||||
@@ -414,7 +414,7 @@ string ConfigFile::readConfigString(string varName) const
|
||||
|
||||
int ConfigFile::readConfigInt(string varName) const
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
|
||||
size_t i;
|
||||
string tempString("");
|
||||
@@ -460,7 +460,7 @@ int ConfigFile::readConfigInt(string varName) const
|
||||
|
||||
void ConfigFile::writeConfigInt(string varName, int varCont)
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
|
||||
size_t i;
|
||||
string tempString;
|
||||
@@ -477,7 +477,7 @@ void ConfigFile::writeConfigInt(string varName, int varCont)
|
||||
|
||||
void ConfigFile::writeConfigString(string varName, string varCont)
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
boost::mutex::scoped_lock lock(m_configMutex);
|
||||
|
||||
size_t i;
|
||||
for (i=0; i<configBufferList.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user