mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
26 lines
971 B
Diff
26 lines
971 B
Diff
Fix erroneous bool usage
|
|
https://github.com/openscenegraph/VirtualPlanetBuilder/commit/58fc4595f3548dd174640c27e901b9d3adedf14e
|
|
https://github.com/openscenegraph/VirtualPlanetBuilder/commit/22bf67f5a0d948b0c788652381d163a914e2fde3
|
|
--- src/vpb/MachinePool.cpp.orig
|
|
+++ src/vpb/MachinePool.cpp
|
|
@@ -630,7 +630,7 @@ bool MachinePool::read(const std::string& filename)
|
|
if (fr.read("file",readFilename))
|
|
{
|
|
read(readFilename);
|
|
- ++itrAdvanced;
|
|
+ itrAdvanced = true;
|
|
}
|
|
|
|
if (fr.matchSequence("Machine {"))
|
|
--- src/vpb/TaskManager.cpp.orig
|
|
+++ src/vpb/TaskManager.cpp
|
|
@@ -854,7 +854,7 @@ bool TaskManager::readTasks(const std::string& filename)
|
|
{
|
|
nextTaskSet();
|
|
readTasks(readFilename);
|
|
- ++itrAdvanced;
|
|
+ itrAdvanced = true;
|
|
}
|
|
|
|
Task* task = readTask(fr, itrAdvanced);
|