Up to [local] / src / usr.bin / mg
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_2_BASE
Revision 1.81 / (download) - annotate - [select for diffs], Mon Jun 18 09:19:21 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2
Changes since 1.80: +5 -7 lines
Diff to previous 1.80 (colored)
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@