summaryrefslogtreecommitdiff
path: root/plugins/Quotes/ModuleInfo.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /plugins/Quotes/ModuleInfo.cpp
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/ModuleInfo.cpp')
-rw-r--r--plugins/Quotes/ModuleInfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Quotes/ModuleInfo.cpp b/plugins/Quotes/ModuleInfo.cpp
index f9a8513b41..69a835409e 100644
--- a/plugins/Quotes/ModuleInfo.cpp
+++ b/plugins/Quotes/ModuleInfo.cpp
@@ -80,10 +80,10 @@ CModuleInfo::TQuotesProvidersPtr CModuleInfo::GetQuoteProvidersPtr()
CModuleInfo::TXMLEnginePtr CModuleInfo::GetXMLEnginePtr()
{
- if(!g_pXMLEngine)
+ if (!g_pXMLEngine)
{
CGuard<CLightMutex> cs(g_lmParsers);
- if(!g_pXMLEngine)
+ if (!g_pXMLEngine)
{
mir_getXI(&xi);
g_pXMLEngine = TXMLEnginePtr(new CXMLEngineMI);
@@ -100,10 +100,10 @@ CModuleInfo::TXMLEnginePtr CModuleInfo::GetXMLEnginePtr()
CModuleInfo::THTMLEnginePtr CModuleInfo::GetHTMLEngine()
{
- if(!g_pHTMLEngine)
+ if (!g_pHTMLEngine)
{
CGuard<CLightMutex> cs(g_lmParsers);
- if(!g_pHTMLEngine)
+ if (!g_pHTMLEngine)
{
g_pHTMLEngine = THTMLEnginePtr(new CHTMLEngineMS);
}
@@ -127,13 +127,13 @@ bool CModuleInfo::Verify()
return false;
}
- if(!GetXMLEnginePtr())
+ if (!GetXMLEnginePtr())
{
Quotes_MessageBox(NULL,TranslateT("Miranda could not load Quotes plugin. XML parser is missing."),MB_OK|MB_ICONERROR);
return false;
}
- if(!g_pHTMLEngine && (false == CHTMLParserMS::IsInstalled()))
+ if (!g_pHTMLEngine && (false == CHTMLParserMS::IsInstalled()))
{
Quotes_MessageBox(NULL,
TranslateT("Miranda could not load Quotes plugin. Microsoft HTML parser is missing."),