]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
allow calls to drawstring without the flag parameter, as per CSQC spec
[xonotic/darkplaces.git] / console.c
index db3718c350ce2494881f32e19a91cdd9e052d4f3..bb9c277d7a7848429e6fd7f305c79d5166af2a4c 100644 (file)
--- a/console.c
+++ b/console.c
@@ -2822,11 +2822,11 @@ void Con_CompleteCommandLine (void)
                                        }
                                        else
                                        {
-                                               stringlistsort(&resultbuf); // dirbuf is already sorted
+                                               stringlistsort(&resultbuf, true); // dirbuf is already sorted
                                                Con_Printf("\n%i possible filenames\n", resultbuf.numstrings + dirbuf.numstrings);
                                                for(i = 0; i < dirbuf.numstrings; ++i)
                                                {
-                                                       Con_Printf("%s/\n", dirbuf.strings[i]);
+                                                       Con_Printf("^4%s^7/\n", dirbuf.strings[i]);
                                                }
                                                for(i = 0; i < resultbuf.numstrings; ++i)
                                                {