![]() ![]() | ![]() |
version 1.41, 2000/01/28 16:21:33 | version 1.42, 2000/02/08 16:29:39 |
---|---|
Line 2173 Document doc; | Line 2173 Document doc; |
length = buflen - 1; | length = buflen - 1; |
if (length > 0) | if (length > 0) |
{ | { |
value = (STRING) TtaGetMemory (sizeof (CHAR_T) * buflen); | value = TtaAllocString (buflen); |
value[0] = EOS; | value[0] = EOS; |
TtaGiveTextAttributeValue (attr, value, &length); | TtaGiveTextAttributeValue (attr, value, &length); |
switch (attrType.AttrTypeNum) | switch (attrType.AttrTypeNum) |