X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8351aa30d8842a047a3b2b987dd75bc0590882a6..9777bd50251d7e72c44bfbee7fbad2d8df148e47:/Output.cpp?ds=inline diff --git a/Output.cpp b/Output.cpp index 6e70b6b..ee58d06 100644 --- a/Output.cpp +++ b/Output.cpp @@ -607,7 +607,7 @@ void CYRubyProc::Output(CYOutput &out, CYFlags flags) const { void CYStatement::Multiple(CYOutput &out, CYFlags flags) const { bool first(true); - for (const CYStatement *next(this); next != NULL; next = next->next_) { + CYForEach (next, this) { bool last(next->next_ == NULL); CYFlags jacks(first ? last ? flags : CYLeft(flags) : last ? CYRight(flags) : CYCenter(flags)); first = false;