Use full input (minus command) as argument to eval.
Previously we used parsed params which was incorrect and stopped at
the first space.
@@ -2318,7 +2318,8 @@ static void onEvalCommand(Console* console)
if (script_config->eval)
{
if(console->desc->count)
- script_config->eval(console->tic, console->desc->params->key);
+ script_config->eval(console->tic,
+ console->desc->src+strlen(console->desc->command));
else printError(console, "nothing to eval");
}
else
