Made small modifications to Anton Blanchard's pull request #120 to
use DBTypeLongNameTbl[] instead of DBTypeShortName() to print the names of the illegally overlapping types.
This commit is contained in:
parent
93dbc77dcf
commit
f43bd19e36
|
|
@ -541,8 +541,10 @@ extHierConnectFunc2(cum, ha)
|
||||||
else if (r.r_xtop > r.r_xbot && r.r_ytop > r.r_ybot)
|
else if (r.r_xtop > r.r_xbot && r.r_ytop > r.r_ybot)
|
||||||
{
|
{
|
||||||
char message[1024];
|
char message[1024];
|
||||||
snprintf(message, sizeof(message), "Illegal overlap between %s and %s (types do not connect)",
|
|
||||||
DBTypeShortName(ha->hierType), DBTypeShortName(ttype));
|
snprintf(message, sizeof(message),
|
||||||
|
"Illegal overlap between %s and %s (types do not connect)",
|
||||||
|
DBTypeLongNameTbl[ha->hierType], DBTypeLongNameTbl[ttype]);
|
||||||
|
|
||||||
extNumErrors++;
|
extNumErrors++;
|
||||||
if (!DebugIsSet(extDebugID, extDebNoFeedback))
|
if (!DebugIsSet(extDebugID, extDebNoFeedback))
|
||||||
|
|
@ -647,8 +649,10 @@ extHierConnectFunc3(cum, ha)
|
||||||
else if (r.r_xtop > r.r_xbot && r.r_ytop > r.r_ybot)
|
else if (r.r_xtop > r.r_xbot && r.r_ytop > r.r_ybot)
|
||||||
{
|
{
|
||||||
char message[1024];
|
char message[1024];
|
||||||
snprintf(message, sizeof(message), "Illegal overlap between %s and %s (types do not connect)",
|
|
||||||
DBTypeShortName(ha->hierType), DBTypeShortName(ttype));
|
snprintf(message, sizeof(message),
|
||||||
|
"Illegal overlap between %s and %s (types do not connect)",
|
||||||
|
DBTypeLongNameTbl[ha->hierType], DBTypeLongNameTbl[ttype]);
|
||||||
|
|
||||||
extNumErrors++;
|
extNumErrors++;
|
||||||
if (!DebugIsSet(extDebugID, extDebNoFeedback))
|
if (!DebugIsSet(extDebugID, extDebNoFeedback))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue