Revision: 54504
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54504&view=rev
Author:   r_weiss
Date:     2013-02-27 20:05:51 +0000 (Wed, 27 Feb 2013)
Log Message:
-----------
More updates to function ged_nirt.

Modified Paths:
--------------
    brlcad/trunk/src/libged/nirt.c

Modified: brlcad/trunk/src/libged/nirt.c
===================================================================
--- brlcad/trunk/src/libged/nirt.c      2013-02-27 19:07:18 UTC (rev 54503)
+++ brlcad/trunk/src/libged/nirt.c      2013-02-27 20:05:51 UTC (rev 54504)
@@ -111,7 +111,7 @@
 
     const char *bin = NULL;
     char nirt[256] = {0};
-    int args;
+    size_t args;
 
     /* for bu_fgets space trimming */
     struct bu_vls v = BU_VLS_INIT_ZERO;
@@ -401,7 +401,8 @@
     si.hStdError   = pipe_err[1];
     si.wShowWindow = SW_HIDE;
 
-    bu_vls_strcat(line1, gedp->ged_gdp->gd_rt_cmd[0]);
+    bu_vls_strcat(&line1, gedp->ged_gdp->gd_rt_cmd[0]);
+    bu_vls_strcat(&line1, " ");
 
     for (i = 1; i < gedp->ged_gdp->gd_rt_cmd_len; i++) {
        /* skip commands */
@@ -410,6 +411,7 @@
        } else {
            /* append other arguments (i.e. options, file and obj(s)) */
            bu_vls_strcat(&line1, gedp->ged_gdp->gd_rt_cmd[i]);
+           bu_vls_strcat(&line1, " ");
        }
     }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to