ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] [PATCH] Add newlines to PRINT_DEBUG calls


From: Will Storey
Subject: [RP] [PATCH] Add newlines to PRINT_DEBUG calls
Date: Sat, 16 Dec 2017 15:49:43 -0800

There were a couple cases we did not end PRINT_DEBUG calls with newlines
(barring intentional multi-line prints).
---
 src/input.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input.c b/src/input.c
index c71d58c..db0e823 100644
--- a/src/input.c
+++ b/src/input.c
@@ -101,7 +101,7 @@ init_xkb (void)
   if (!use_xkb)
     PRINT_DEBUG (("Not using XKB, XkbQueryExtension failed\n"));
 #else
-  PRINT_DEBUG (("Built with no XKB support."));
+  PRINT_DEBUG (("Built with no XKB support.\n"));
   use_xkb = False;
 #endif
 }
@@ -565,7 +565,7 @@ get_more_input (char *prompt, char *preinput, int 
history_id,
     {
       read_key (&ch, &modifier, keysym_buf, sizeof (keysym_buf));
       modifier = x11_mask_to_rp_mask (modifier);
-      PRINT_DEBUG (("ch = %ld, modifier = %d, keysym_buf = %s",
+      PRINT_DEBUG (("ch = %ld, modifier = %d, keysym_buf = %s\n",
                     ch, modifier, keysym_buf));
       status = execute_edit_action (line, ch, modifier, keysym_buf);
 
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]