version 1.158, 2008/03/17 11:40:54
|
version 1.159, 2008/07/25 09:03:26
|
Line 1260 static ThotBool GetIncludedDocuments (El
|
Line 1260 static ThotBool GetIncludedDocuments (El
|
length = TtaGetTextAttributeLength (attr); |
length = TtaGetTextAttributeLength (attr); |
utf8path = (char *)TtaGetMemory (length + 1); |
utf8path = (char *)TtaGetMemory (length + 1); |
TtaGiveTextAttributeValue (attr, utf8path, &length); |
TtaGiveTextAttributeValue (attr, utf8path, &length); |
|
/* remove trailing spaces */ |
|
while (length > 0 && |
|
(utf8path[length - 1] == SPACE || utf8path[length - 1] == TAB)) |
|
{ |
|
utf8path[length-1] = EOS; |
|
length--; |
|
} |
ptr = strrchr (utf8path, '#'); |
ptr = strrchr (utf8path, '#'); |
if (ptr) |
if (ptr) |
{ |
{ |