Fixed linefeeds. *sigh*

This commit is contained in:
lotodore
2007-08-22 23:01:32 +00:00
parent dc0212bbc9
commit d68a410071
2 changed files with 9 additions and 9 deletions
+7 -7
View File
@@ -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++) {
+2 -2
View File
@@ -24,7 +24,7 @@
#include <vector>
#include <string>
#include <boost/thread.hpp>
#include <boost/thread.hpp>
enum ConfigState { NONEXISTING, OLD };
enum ConfigType { CONFIG_TYPE_INT, CONFIG_TYPE_STRING };
@@ -51,7 +51,7 @@ public:
private:
mutable boost::mutex m_configMutex;
mutable boost::mutex m_configMutex;
struct ConfigInfo
{