From: MFraters Date: Tue, 24 Feb 2015 13:38:40 +0000 (+0100) Subject: Changed evaluation order X-Git-Tag: v8.3.0-rc1~424^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d68cf5c9cae3234e83778b1ef7857b11c0061dba;p=dealii.git Changed evaluation order --- diff --git a/source/base/utilities.cc b/source/base/utilities.cc index 6507542bb7..d6cb0fb560 100644 --- a/source/base/utilities.cc +++ b/source/base/utilities.cc @@ -219,7 +219,7 @@ namespace Utilities (name[0] == ' ')) name.erase (0,1); - while (name[name.length()-1] == ' ' && name.length() != 0) + while (name.length() != 0 && name[name.length()-1] == ' ') name.erase (name.length()-1, 1); split_list.push_back (name);