summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-09-15 04:27:08 +0000
committersabetts <sabetts>2000-09-15 04:27:08 +0000
commit459655b06ba8e3a15e52c9e9c0e8fd936a5e2673 (patch)
tree350d862dd9fb99fd4f538578629cd35b97c08301 /src/input.c
parentf8d987c9c391855fcc263a3adb93483705afe35b (diff)
downloadratpoison-459655b06ba8e3a15e52c9e9c0e8fd936a5e2673.zip
Added a standard error reporting function PRINT_ERROR and a standard
debug output function PRINT_DEBUG.
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c
index ad8f093..222e3e6 100644
--- a/src/input.c
+++ b/src/input.c
@@ -48,7 +48,7 @@ get_input (screen_info *s, char *prompt, char *str, int len)
cur_len = 0;
while ((ch = read_key ()) != XK_Return)
{
- printf ("key %d\n", ch);
+ PRINT_DEBUG ("key %d\n", ch);
if (ch == XK_BackSpace)
{
if (cur_len > 0) cur_len--;