From: Jay Freeman (saurik) Date: Mon, 12 Jul 2010 00:05:31 +0000 (+0000) Subject: Stupid mistake while outputting statement blocks: last statement was getting center... X-Git-Tag: v0.9.432~20 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/7bf4a0cd67680a700742bad3e6e94225b71388b6?ds=inline Stupid mistake while outputting statement blocks: last statement was getting center flags and vice versa. --- diff --git a/Output.cpp b/Output.cpp index f983ce2..d5d403c 100644 --- a/Output.cpp +++ b/Output.cpp @@ -609,7 +609,7 @@ void CYStatement::Multiple(CYOutput &out, CYFlags flags) const { bool first(true); for (const CYStatement *next(this); next != NULL; next = next->next_) { bool last(next->next_ == NULL); - CYFlags jacks(first ? last ? flags : CYLeft(flags) : last ? CYCenter(flags) : CYRight(flags)); + CYFlags jacks(first ? last ? flags : CYLeft(flags) : last ? CYRight(flags) : CYCenter(flags)); first = false; out << '\t'; next->Output(out, jacks);