in do_browse_from(), during the operating directory check, if path isn't
NULL, don't bother freeing it before mallocstrcpy()ing operating_dir into it, as the latter operation will free it git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3746 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
@@ -17,6 +17,10 @@ CVS code -
|
||||
- After entering "..", select the directory we were in before
|
||||
instead of the first filename in the list, as Pico does. (DLR)
|
||||
- Simplify screen update handling and exiting. (DLR)
|
||||
do_browse_from()
|
||||
- During the operating directory check, if path isn't NULL,
|
||||
don't bother freeing it before mallocstrcpy()ing operating_dir
|
||||
into it, as the latter operation will free it. (DLR)
|
||||
browser_init()
|
||||
- Fix off-by-one error when calculating longest that kept the
|
||||
rightmost column of the screen from being used. (DLR)
|
||||
|
||||
Reference in New Issue
Block a user