miscellaneous bits: fix the full justify segfault in a way that doesn't

break some normal full justifies, do a few more int -> bool conversions,
and fix a comment


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2209 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey
2004-12-31 04:10:28 +00:00
parent 0d847aadd9
commit 3e81914b82
5 changed files with 12 additions and 10 deletions

View File

@@ -1213,7 +1213,7 @@ void init_operating_dir(void)
* are, or 1 otherwise. If allow_tabcomp is nonzero, allow incomplete
* names that would be matches for the operating directory, so that tab
* completion will work. */
int check_operating_dir(const char *currpath, int allow_tabcomp)
int check_operating_dir(const char *currpath, bool allow_tabcomp)
{
/* The char *full_operating_dir is global for mem cleanup. It
* should have already been initialized by init_operating_dir().