From cff5558394e58727b8d5adf611a03d492feeced9 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 30 Jun 2004 12:28:15 +0000
Subject: [PATCH] per Jon Oberheide's patch, fix erroneous debugging statement
 so that nano compiles with --enable-debug again

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1832 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog   | 4 ++++
 src/winio.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 903f068f..6e4aeb49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@ CVS code -
   parse_rcfile()
 	- Have whitespace display default to off instead of on. (Mike
 	  Frysinger)
+- winio.c:
+  get_control_kbinput()
+	- Fix erroneous debugging statement so that nano compiles with
+	  --enable-debug again. (Jon Oberheide)
 
 GNU nano 1.3.3 - 2004.06.28
 - General:
diff --git a/src/winio.c b/src/winio.c
index f7d87e17..54d13d7f 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -550,7 +550,7 @@ int get_control_kbinput(int kbinput)
 	retval = kbinput;
 
 #ifdef DEBUG
-    fprintf(stderr, "get_control_kbinput(): kbinput = %d, retval = %d\n", kbinput, ascii_digits, *complete, retval);
+    fprintf(stderr, "get_control_kbinput(): kbinput = %d, retval = %d\n", kbinput, retval);
 #endif
 
     return retval;
-- 
GitLab