From fced018e542c16e4be4a53cdf5057bcaa2f2923d Mon Sep 17 00:00:00 2001 From: Norbert Warmuth Date: Wed, 20 May 1998 14:49:12 +0000 Subject: [PATCH] This bug is also in 4.1.34. Wed May 20 16:27:56 1998 Norbert Warmuth * widget.c (history_put): input line history was defunct because there was an #ifndef where an #ifdef should be. Btw. PORT_WIDGET_WANTS_HISTORY seems incomplete because a lot of history code is included even when this define is undefined. --- src/ChangeLog | 7 +++++++ src/widget.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index f5940d06d..922d74227 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +Wed May 20 16:27:56 1998 Norbert Warmuth + + * widget.c (history_put): input line history was defunct because + there was an #ifndef where an #ifdef should be. + Btw. PORT_WIDGET_WANTS_HISTORY seems incomplete because a lot of + history code is included even when this define is undefined. + 1998-05-19 Tamasi Gyorgy * src/*: Until I get a better ChangeLog: Tamasi's port of the diff --git a/src/widget.c b/src/widget.c index 4eac1f6d9..3a5548f48 100644 --- a/src/widget.c +++ b/src/widget.c @@ -936,7 +936,7 @@ Hist *history_get (char *input_name) return new; /* return pointer to last entry in list */ } -#ifndef PORT_WIDGET_WANTS_HISTORY +#ifdef PORT_WIDGET_WANTS_HISTORY void history_put (char *input_name, Hist *h) { int i;