diff options
Diffstat (limited to 'c/src/libmisc/monitor/mon-command.c')
-rw-r--r-- | c/src/libmisc/monitor/mon-command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/libmisc/monitor/mon-command.c b/c/src/libmisc/monitor/mon-command.c index 3bd76467c8..6ccaae6b08 100644 --- a/c/src/libmisc/monitor/mon-command.c +++ b/c/src/libmisc/monitor/mon-command.c @@ -394,9 +394,11 @@ rtems_monitor_line_editor ( } else { +#ifdef ENABLE_ENTER_REPEATS if (history_next) memcpy (buffer, history_buffer[history_next - 1], RTEMS_COMMAND_BUFFER_SIZE); +#endif } memmove (command, buffer, RTEMS_COMMAND_BUFFER_SIZE); return repeating; @@ -407,8 +409,6 @@ rtems_monitor_line_editor ( (c >= ' ') && (c <= 'z')) { int end; - if (c >= 'A' && c <= 'Z') - c += 'a' - 'A'; end = strlen (buffer); if ((pos < end) && (end < RTEMS_COMMAND_BUFFER_SIZE)) { |