Revision: 77691
http://sourceforge.net/p/brlcad/code/77691
Author: brlcad
Date: 2020-11-04 22:43:16 +0000 (Wed, 04 Nov 2020)
Log Message:
-----------
empty string is not same as null pointer. need to check the latter. an empty
path string conceptually just maps to an empty string, I think?
Modified Paths:
--------------
brlcad/trunk/src/librt/db_fullpath.c
Modified: brlcad/trunk/src/librt/db_fullpath.c
===================================================================
--- brlcad/trunk/src/librt/db_fullpath.c 2020-11-04 22:01:09 UTC (rev
77690)
+++ brlcad/trunk/src/librt/db_fullpath.c 2020-11-04 22:43:16 UTC (rev
77691)
@@ -263,7 +263,7 @@
BU_CK_VLS(vls);
RT_CK_FULL_PATH(full_path);
- if (!full_path->fp_names[0]) {
+ if (!full_path->fp_names) {
bu_vls_strcat(vls, "**NULL**");
return;
}
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