diff --git a/src/shellmatta_history.c b/src/shellmatta_history.c index e824e83..1e92649 100644 --- a/src/shellmatta_history.c +++ b/src/shellmatta_history.c @@ -233,7 +233,7 @@ void history_storeCmd(shellmatta_instance_t *inst) /** -# append the command byte wise in reverse direction */ for(i = inst->inputCount; i > 0u; i --) - { + { appendHistoryByte(inst, inst->buffer[i - 1u]); } }