summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Src/hist.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e77551678..1c391a544 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2015-01-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
+ * unposted: Src/hist.c: fix another dubious comment.
+
* unposted: Src/hist.c: improve confusing comment in previous
commit.
diff --git a/Src/hist.c b/Src/hist.c
index 9d317c4b5..e5c48dbc1 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -270,6 +270,8 @@ hist_context_save(struct hist_stack *hs, int toplevel)
cmdsp = 0;
}
+/* restore history context */
+
/**/
void
hist_context_restore(const struct hist_stack *hs, int toplevel)
@@ -321,8 +323,6 @@ hist_in_word(int yesno)
histactive &= ~HA_INWORD;
}
-/* restore history context */
-
/* add a character to the current history word */
static void