commit | 7fc904b610d5739dd7b72fb2f6b0e4b330c97179 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Apr 13 20:37:35 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 13 20:37:35 2006 +0000 |
tree | a7ea75d0ab26a753f13949e25e08e2c875b37d69 | |
parent | 18144c84231aee36ae1d11b74941c9b318f1706a [diff] [blame] |
updated for version 7.0d03
diff --git a/src/ex_getln.c b/src/ex_getln.c index e4a1c99..11069f2 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c
@@ -4444,8 +4444,9 @@ } } - /* Sort the results. */ - sort_strings(*file, *num_file); + /* Sort the results. Keep menu's in the specified order. */ + if (xp->xp_context != EXPAND_MENUNAMES && xp->xp_context != EXPAND_MENUS) + sort_strings(*file, *num_file); return OK; }