From: Jay Freeman (saurik) Date: Thu, 9 Jan 2014 21:20:57 +0000 (-0800) Subject: Hack for add_history's now-understood allocation. X-Git-Tag: v0.9.500~89 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/be8c207843fb8bad2e4186a73cfc39bda178e16e?ds=sidebyside Hack for add_history's now-understood allocation. --- diff --git a/Console.cpp b/Console.cpp index d353178..57c38e6 100644 --- a/Console.cpp +++ b/Console.cpp @@ -508,7 +508,8 @@ static void Console(CYOptions &options) { syntax = !syntax; *out_ << "syntax == " << (syntax ? "true" : "false") << std::endl; } - history += line; + command_ = line; + history += command_; goto restart; } }