summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cd-tool.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cd-tool.cpp b/cd-tool.cpp
index 14f0f0b..66ad69e 100644
--- a/cd-tool.cpp
+++ b/cd-tool.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: cd-tool.cpp,v 1.30 2004-05-03 12:55:04 pixel Exp $ */
+/* $Id: cd-tool.cpp,v 1.31 2004-07-30 00:47:58 pixel Exp $ */
#define WIP
@@ -495,6 +495,7 @@ virtual int startup() throw (GeneralException) {
/* Interactive mode loop */
strcpy(prompt, "> ");
rl_bind_key('\t', rl_insert);
+ rl_getc_function = getc;
while (interactive) {
/* Basic usage of readline */
if (line_read)
@@ -559,8 +560,8 @@ virtual int startup() throw (GeneralException) {
/* Finishing off the work, cleaning out the dust */
if (output) {
- delete build_iso;
delete build;
+ delete build_iso;
}
if (file) {