From eb075660e7cb61b138c2da337115c59857f89e17 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 16 Jul 2008 22:55:07 +0000 Subject: network protocol cleanup, radar test (doesn't work) --- src/client/keyboard.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/keyboard.cc') diff --git a/src/client/keyboard.cc b/src/client/keyboard.cc index 83d31e8..be2240a 100644 --- a/src/client/keyboard.cc +++ b/src/client/keyboard.cc @@ -315,7 +315,7 @@ void Keyboard::add_key(const char *name, const unsigned int keysym, const char a void Keyboard::list_keys() { for (iterator it = begin(); it != end(); it++) { - con_print << " " << aux::spaces((*it).second->name(), 6) << " " << (*it).second->bind() << std::endl; + con_print << " " << aux::pad_left((*it).second->name(), 6) << " " << (*it).second->bind() << std::endl; } con_print << keys.size() << " keys" << std::endl; } @@ -325,7 +325,7 @@ void Keyboard::list_binds() size_t n =0; for (iterator it = begin(); it != end(); it++) { if ((*it).second->bind().size()) { - con_print << " " << aux::spaces((*it).second->name(), 6) << " " << (*it).second->bind() << std::endl; + con_print << " " << aux::pad_left((*it).second->name(), 6) << " " << (*it).second->bind() << std::endl; n++; } } -- cgit v1.2.3