Commit 2d21ee55 authored by claes's avatar claes

Bugfix in ldh_GetAttrObjectPar

parent 7842f566
/*
* Proview $Id: wb_ldh.cpp,v 1.60 2007-08-28 07:23:48 claes Exp $
* Proview $Id: wb_ldh.cpp,v 1.61 2007-09-26 11:52:34 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -956,12 +956,13 @@ ldh_GetAttrObjectPar(ldh_tSession session, pwr_sAttrRef *arp, char *bname, char
return a.sts();
}
else if ( arp->Flags.b.ObjectAttr) {
char name[240];
pwr_tAName name;
wb_attribute aarp = sp->attribute( arp);
if ( !aarp) return aarp.sts();
strcpy( name, aarp.attrName());
strcpy( name, aarp.longName().name( cdh_mName_volume | cdh_mName_attribute));
//strcpy( name, aarp.attrName());
strcat( name, ".");
strcat( name, aname);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment