From: Jay Freeman (saurik) Date: Fri, 3 Jun 2011 02:01:35 +0000 (+0000) Subject: Fix console line continuation. X-Git-Tag: v0.9.449^0 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/c247172c9d181431960ee83eaa34c16a50b543bd Fix console line continuation. --- diff --git a/Console.cpp b/Console.cpp index 89cd62e..50692f2 100644 --- a/Console.cpp +++ b/Console.cpp @@ -482,7 +482,7 @@ static void Console(CYOptions &options) { if (parser.parse() != 0 || !driver.errors_.empty()) { for (CYDriver::Errors::const_iterator error(driver.errors_.begin()); error != driver.errors_.end(); ++error) { cy::position begin(error->location_.begin); - if (begin.line != lines.size() || begin.column - 1 != lines.back().size() || error->warning_) { + if (begin.line != lines.size() || begin.column < lines.back().size() || error->warning_) { cy::position end(error->location_.end); if (begin.line != lines.size()) {