[vte] debug: Pass the known string length



commit 7fb4bce92aac6e9fb5400523bbf0a2b4eee04db9
Author: Christian Persch <chpe src gnome org>
Date:   Tue Oct 24 23:03:51 2017 +0200

    debug: Pass the known string length

 src/keymap.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/keymap.cc b/src/keymap.cc
index b8e02f1..6dbdf31 100644
--- a/src/keymap.cc
+++ b/src/keymap.cc
@@ -770,7 +770,7 @@ _vte_keymap_map(guint keyval,
                                                   normal_length);
                 _vte_debug_print(VTE_DEBUG_KEYBOARD,
                                  " to '%s'.\n",
-                                 _vte_debug_sequence_to_string(*normal, -1));
+                                 _vte_debug_sequence_to_string(*normal, *normal_length));
                 return;
        }
 


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