From 877d4a3f4d134ee21aec4aaf8d0ce48d94d3a0ba Mon Sep 17 00:00:00 2001 From: spx Date: Tue, 24 Aug 2010 01:13:27 +0000 Subject: [PATCH] Fixed some comments. --- Library/ConfigParser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/ConfigParser.cpp b/Library/ConfigParser.cpp index 48f3e78d..a20442a2 100644 --- a/Library/ConfigParser.cpp +++ b/Library/ConfigParser.cpp @@ -187,7 +187,7 @@ bool CConfigParser::GetVariable(const std::wstring& strVariable, std::wstring& s std::map::const_iterator iter = m_BuiltInVariables.find(strTmp); if (iter != m_BuiltInVariables.end()) { - // Built-in variable found, replace it with the value + // Built-in variable found strValue = (*iter).second; return true; } @@ -196,16 +196,16 @@ bool CConfigParser::GetVariable(const std::wstring& strVariable, std::wstring& s iter = c_MonitorVariables.find(strTmp); if (iter != c_MonitorVariables.end()) { - // SCREENAREA/WORKAREA variable found, replace it with the value + // SCREENAREA/WORKAREA variable found strValue = (*iter).second; return true; } - // #3: User defined variables + // #3: User-defined variables iter = m_Variables.find(strTmp); if (iter != m_Variables.end()) { - // Variable found, replace it with the value + // Variable found strValue = (*iter).second; return true; }