Commit 8fda9424 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

remove erroneous if block in update_history() preventing the history

list position from being properly moved to the bottom in some cases


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2587 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 0 additions and 5 deletions
+0 -5
......@@ -1181,11 +1181,6 @@ void update_history(filestruct **h, const char *s)
if (p != NULL) {
filestruct *foo, *bar;
/* If the string is at the current position, don't do
* anything. */
if (p == *h)
return;
/* If the string is at the beginning, move the beginning down to
* the next string. */
if (p == *hage)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment