aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog5
-rw-r--r--main.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bad0f74..bb7c321 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-05 Tsutomu Okada <okada@furuno.co.jp>
+
+ * [w3m-dev 02615]
+ * main.c (goLine): _goLine() called twice when prec_num was set
+
2001-12-05 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02614]
diff --git a/main.c b/main.c
index 1d8bf81..90b0f38 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.31 2001/12/02 16:26:08 ukai Exp $ */
+/* $Id: main.c,v 1.32 2001/12/04 16:24:09 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -1996,8 +1996,8 @@ goLine(void)
{
if (prec_num)
_goLine("^");
- _goLine(inputStr("Goto line: ", ""));
- prec_num = 0;
+ else
+ _goLine(inputStr("Goto line: ", ""));
}
void