summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/TemplateHTMLBuilder.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-03-27 22:25:31 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-03-27 22:25:31 +0000
commite4302ad10ffffed04d4e11bfe9b11d2b389656a1 (patch)
tree62ccd91b84434992e14d108f3e560ae41478f0a6 /plugins/IEView/src/TemplateHTMLBuilder.cpp
parentbcd3d5eedda6f93c8846f77848e950b4e78fcd81 (diff)
IEView:
- Fixed HTML encoding - minor bugfixes git-svn-id: http://svn.miranda-ng.org/main/trunk@12533 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/TemplateHTMLBuilder.cpp')
-rw-r--r--plugins/IEView/src/TemplateHTMLBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/IEView/src/TemplateHTMLBuilder.cpp b/plugins/IEView/src/TemplateHTMLBuilder.cpp
index 10ce8161c0..32711fbccf 100644
--- a/plugins/IEView/src/TemplateHTMLBuilder.cpp
+++ b/plugins/IEView/src/TemplateHTMLBuilder.cpp
@@ -176,7 +176,7 @@ void TemplateHTMLBuilder::buildHeadTemplate(IEView *view, IEVIEWEVENT *event, Pr
return;
strcpy(tempBase, "file://");
- strcat(tempBase, tmpm->getFilename());
+ strncat(tempBase, tmpm->getFilename(), SIZEOF(tempBase)-1);
char *pathrun = tempBase + strlen(tempBase);
while ((*pathrun != '\\' && *pathrun != '/') && (pathrun > tempBase))
pathrun--;