From d68cf5c9cae3234e83778b1ef7857b11c0061dba Mon Sep 17 00:00:00 2001 From: MFraters Date: Tue, 24 Feb 2015 14:38:40 +0100 Subject: [PATCH] Changed evaluation order --- source/base/utilities.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5