From 76e32703ac4dcc59ec001736bc6155085c4dfe00 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Thu, 1 Jul 2010 15:40:18 +0000 Subject: [PATCH] fixed: a mount parameter html_template() was not properly read when mountpoints were reloaded git-svn-id: svn://ttmath.org/publicrep/winix/trunk@617 e52654a7-88a9-db11-a3e9-0013d4bc506e --- templates/indexpatterns.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/indexpatterns.cpp b/templates/indexpatterns.cpp index a4608a6..41d1bbf 100755 --- a/templates/indexpatterns.cpp +++ b/templates/indexpatterns.cpp @@ -49,7 +49,10 @@ void IndexPatterns::AddPatternIfNotExists(const std::string & file, Locale & loc Tab::iterator i = tab.find(file); if( i != tab.end() ) + { + i->second.to_delete = false; return; + } AddPattern(file, locale, locale_filter, delete_white); }