]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
bug fix: up to now we ended up with the wrong result (or an error), if we tried to...
authorleicht <leicht@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Dec 2006 11:58:51 +0000 (11:58 +0000)
committerleicht <leicht@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Dec 2006 11:58:51 +0000 (11:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@14231 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/utilities.cc

index 291caf2982e097c717328cc65ab01f21cc1095d6..169b9315de0a3f9da34c521c8cf2c7c716e1a49c 100644 (file)
@@ -214,7 +214,7 @@ namespace Utilities
                                              // location of the previous space, so
                                              // that we can break around there
             int location = std::min<int>(width,text.length()-1);
-            for (; location>=0; --location)
+            for (; location>0; --location)
               if (text[location] == delimiter)
                 break;
           

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.