Revision: 77165
http://sourceforge.net/p/brlcad/code/77165
Author: brlcad
Date: 2020-09-17 03:11:47 +0000 (Thu, 17 Sep 2020)
Log Message:
-----------
make sure we quote the filename in case it has spaces so the window title bar
gets updated appropriately. this fixes a user-reported bug
Modified Paths:
--------------
brlcad/trunk/src/mged/mged.c
Modified: brlcad/trunk/src/mged/mged.c
===================================================================
--- brlcad/trunk/src/mged/mged.c 2020-09-15 20:22:26 UTC (rev 77164)
+++ brlcad/trunk/src/mged/mged.c 2020-09-17 03:11:47 UTC (rev 77165)
@@ -2870,7 +2870,7 @@
/* Perhaps do something special with the GUI */
bu_vls_trunc(&cmd, 0);
- bu_vls_printf(&cmd, "opendb_callback %s", DBIP->dbi_filename);
+ bu_vls_printf(&cmd, "opendb_callback {%s}", DBIP->dbi_filename);
(void)Tcl_Eval(interpreter, bu_vls_addr(&cmd));
bu_vls_strcpy(&cmd, "local2base");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits