From be8c207843fb8bad2e4186a73cfc39bda178e16e Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 9 Jan 2014 13:20:57 -0800 Subject: [PATCH] Hack for add_history's now-understood allocation. --- Console.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.49.0