diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-03 10:22:34 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-03 10:22:34 +0000 |
commit | cfe2d8b10186a7ed42ba0dffd75528a38bee1435 (patch) | |
tree | ab5656d24de39636ed2c32dc9d8643f9e0fc9a67 /plugins/IEView/Template.cpp | |
parent | 164f7464e28c7723fda62f6dde5293ed6e50239a (diff) |
Ievew cosmetic fix (patch from Mataes)
git-svn-id: http://svn.miranda-ng.org/main/trunk@734 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/Template.cpp')
-rw-r--r-- | plugins/IEView/Template.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/IEView/Template.cpp b/plugins/IEView/Template.cpp index 9d6ce5246e..940efa8bfd 100644 --- a/plugins/IEView/Template.cpp +++ b/plugins/IEView/Template.cpp @@ -1,7 +1,7 @@ /*
IEView Plugin for Miranda IM
-Copyright (C) 2005-2010 Piotr Piastucki
+Copyright (C) 2005-2010 Piotr Piastucki
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -10,12 +10,12 @@ of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "Template.h"
@@ -321,7 +321,6 @@ static TokenDef templateNames[] = { TokenDef("<!--hMessageOutGroupEndRTL-->")
};
-
TemplateMap* TemplateMap::loadTemplateFile(const char *id, const char *filename, bool onlyInfo) {
FILE* fh;
char lastTemplate[1024], tmp2[1024];
@@ -367,11 +366,11 @@ TemplateMap* TemplateMap::loadTemplateFile(const char *id, const char *filename, } else if (wasTemplate) {
Utils::appendText(&templateText, &templateTextSize, "%s", store);
}
- }
- if (wasTemplate) {
+ }
+ if (wasTemplate) {
tmap->addTemplate(lastTemplate, templateText);
}
- fclose(fh);
+ fclose(fh);
static const char *groupTemplates[] = {"MessageInGroupStart", "MessageInGroupInner",
"hMessageInGroupStart", "hMessageInGroupInner",
"MessageOutGroupStart", "MessageOutGroupInner",
|