X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8351aa30d8842a047a3b2b987dd75bc0590882a6..c2c9f509581b8c8e78b5745498c782ef1affd51a:/Output.cpp?ds=sidebyside 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;