Author: Jonas Devlieghere
Date: 2024-11-20T10:18:08-08:00
New Revision: 2c63e6d94261d6c9d045523f37f350f9e60ed35b

URL: 
https://github.com/llvm/llvm-project/commit/2c63e6d94261d6c9d045523f37f350f9e60ed35b
DIFF: 
https://github.com/llvm/llvm-project/commit/2c63e6d94261d6c9d045523f37f350f9e60ed35b.diff

LOG: [lldb] Fix double newline typo in PrintCompletion

While addressing code review feedback I accidentally introduced a
spurious second newline.

Added: 
    

Modified: 
    lldb/source/Host/common/Editline.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Host/common/Editline.cpp 
b/lldb/source/Host/common/Editline.cpp
index 1dc1c3fc180848..c9e890304ae1ec 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;


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to