Corrected my off-by-one error. Only visible if you have two ifs right in a
authorArt Yerkes <art.yerkes@gmail.com>
Sun, 19 Feb 2006 06:57:38 +0000 (06:57 +0000)
committerArt Yerkes <art.yerkes@gmail.com>
Sun, 19 Feb 2006 06:57:38 +0000 (06:57 +0000)
row.

svn path=/trunk/; revision=21152

reactos/tools/rbuild/project.cpp

index a705c30..eb8f69c 100644 (file)
@@ -303,6 +303,7 @@ Project::ProcessXML ( const string& path )
                        If * if_data = non_if_data.ifs[i];
                        non_if_data.ifs.erase ( non_if_data.ifs.begin () + i );
                        delete if_data;
+                       i--;
                }
        }
        for ( i = 0; i < linkerFlags.size (); i++ )