Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Thu, 31 May 2012 19:58:37 Commit: c30936028ee5a8d0ca70202bb57676298bc7d727 https://github.com/geany/geany/commit/c30936028ee5a8d0ca70202bb57676298bc7d7...
Log Message: ----------- When not sorting the file list, don't preserve read order
If the caller doesn't want the list to be sorted, there is no need to preserve the order in which the files were actually read, since that order is undefined anyway.
Modified Paths: -------------- src/utils.c
Modified: src/utils.c 2 files changed, 0 insertions(+), 2 deletions(-) =================================================================== @@ -1440,8 +1440,6 @@ GSList *utils_get_file_list_full(const gchar *path, gboolean full_path, gboolean /* sorting last is quicker than on insertion */ if (sort) list = g_slist_sort(list, (GCompareFunc) utils_str_casecmp); - else - list = g_slist_reverse(list); return list; }
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).