From 78c0815c4118fe24ab78cce2dc48a6232dcd824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 20:55:18 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/ModuleInfo.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/Quotes/ModuleInfo.cpp') 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 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 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."), -- cgit v1.2.3