]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/bspfile_abstract.c
quake3/help: move away from termcap
[xonotic/netradiant.git] / tools / quake3 / q3map2 / bspfile_abstract.c
index 675aef6d3abd6d971333d720b2aa42a2649c9f64..db14ea452230674f9a835ad359e43f505022726d 100644 (file)
@@ -604,6 +604,9 @@ void InjectCommandLine( char **argv, int beginArgs, int endArgs ){
 
        for ( i = beginArgs; i < endArgs; ++i )
        {
+               if ( argv[i] == NULL ) {
+                       continue;
+               }
                if ( outpos != sentinel && i != beginArgs ) {
                        *outpos++ = ' ';
                }