aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-11-20 09:56:03 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2024-11-20 10:18:08 -0800
commit2c63e6d94261d6c9d045523f37f350f9e60ed35b (patch)
tree883a3cb87d53e90ae33df40ae2801ae10cf4fda0
parente14827f0828d14ef17ab76316e8449d1b76e2617 (diff)
downloadllvm-2c63e6d94261d6c9d045523f37f350f9e60ed35b.zip
llvm-2c63e6d94261d6c9d045523f37f350f9e60ed35b.tar.gz
llvm-2c63e6d94261d6c9d045523f37f350f9e60ed35b.tar.bz2
[lldb] Fix double newline typo in PrintCompletion
While addressing code review feedback I accidentally introduced a spurious second newline.
-rw-r--r--lldb/source/Host/common/Editline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Editline.cpp b/lldb/source/Host/common/Editline.cpp
index 1dc1c3f..c9e8903 100644
--- a/lldb/source/Host/common/Editline.cpp
+++ b/lldb/source/Host/common/Editline.cpp
@@ -953,7 +953,7 @@ PrintCompletion(FILE *output_file,
} else {
// If the completion doesn't fit on the screen, print ellipsis and don't
// bother with the description.
- fprintf(output_file, "%.*s...\n\n",
+ fprintf(output_file, "%.*s...\n",
static_cast<int>(max_length - padding_length - ellipsis_length),
c.GetCompletion().c_str());
continue;