CVSROOT: /cvs Module name: src Changes by: l...@cvs.openbsd.org 2012/06/18 03:19:21
Modified files: usr.bin/mg : file.c Log message: Removing this 'if' statement allows dired buffers to not have their forward and backward line pointers pointing to the same line, causing mg to spin when asked to split the window. This happens if a directory is opened via the command line sequentially first, and other windows need to opened afterwards (for other files). Since the information within this 'if' statement is updated later for files and directories I can see no problem with removing this. No regressions viewable either. Problem reported by and diff tested by jasper@