From c24c5c7f81787260a74bbacf33dc1d179d70d107 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 22 Apr 2013 21:10:36 +0000 Subject: [PATCH] Fix a bug introduced with the mangling in r 29126 git-svn-id: https://svn.dealii.org/trunk@29358 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/base/parameter_handler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/source/base/parameter_handler.cc b/deal.II/source/base/parameter_handler.cc index c1846a87cb..2b019ada2c 100644 --- a/deal.II/source/base/parameter_handler.cc +++ b/deal.II/source/base/parameter_handler.cc @@ -1083,8 +1083,8 @@ ParameterHandler::mangle (const std::string &s) static const std::string allowed_characters ("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"); - if (mangle_whole_string - || + if ((! mangle_whole_string) + && (allowed_characters.find (s[i]) != std::string::npos)) u.push_back (s[i]); else -- 2.39.5