CVSROOT: /cvs Module name: src Changes by: l...@cvs.openbsd.org 2015/09/29 02:53:54
Modified files: usr.bin/mg : file.c Log message: Check to see if the file to be opened is a directory as soon as is feasible. Currently, mg does this check much later on which means some functions (e.g showbuffer()) are called multiple times. This fixes the location of the cursor when opening a directory using filevisit, findvisitalt and poptofile. ok jasper@