Sort snippet filenames manually before displaying in helper box. Seems file ordering is inconsistent between Windows version. Fixes issue #3351.

This commit is contained in:
Ansgar Becker
2013-10-02 16:01:14 +00:00
parent 5832bf45b9
commit 6fa785c65c

View File

@ -11079,6 +11079,7 @@ begin
Snip := Copy(Snip, 1, Length(Snip)-4); Snip := Copy(Snip, 1, Length(Snip)-4);
FSnippetFilenames.Add(snip); FSnippetFilenames.Add(snip);
end; end;
FSnippetFilenames.Sort;
except except
on E:Exception do begin on E:Exception do begin
LogSQL(f_('Error with snippets directory: %s', [E.Message]), lcError); LogSQL(f_('Error with snippets directory: %s', [E.Message]), lcError);