From c247172c9d181431960ee83eaa34c16a50b543bd Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 3 Jun 2011 02:01:35 +0000 Subject: [PATCH] Fix console line continuation. --- Console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- 2.45.2