Commit fe415841 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Make functions return themselves when do_browser() aborts

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@441 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 6 additions and 0 deletions
+6 -0
......@@ -279,6 +279,10 @@ int do_insertfile(void)
free(realname);
realname = tmp;
}
else {
free(realname);
return do_insertfile();
}
}
#endif
......@@ -529,6 +533,8 @@ int do_writeout(int exiting)
free(answer);
answer = tmp;
}
else
return do_writeout(exiting);
}
#endif
......
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