Fix for bug 257314.
r=mscott sr=dveditz git-svn-id: svn://10.0.0.236/trunk@161494 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1344,16 +1344,13 @@ static void writeAttrValue(OFile *fp, VObject *o, int* length)
|
||||
|
||||
static void writeGroup(OFile *fp, VObject *o)
|
||||
{
|
||||
char buf1[256];
|
||||
char buf2[256];
|
||||
PL_strcpy(buf1,NAME_OF(o));
|
||||
while ((o=isAPropertyOf(o,VCGroupingProp)) != 0) {
|
||||
PL_strcpy(buf2,STRINGZ_VALUE_OF(o));
|
||||
PL_strcat(buf2,".");
|
||||
PL_strcat(buf2,buf1);
|
||||
PL_strcpy(buf1,buf2);
|
||||
nsCAutoString buf(NAME_OF(o));
|
||||
|
||||
while ((o=isAPropertyOf(o,VCGroupingProp)) != 0) {
|
||||
buf.Insert(NS_LITERAL_CSTRING("."), 0);
|
||||
buf.Insert(STRINGZ_VALUE_OF(o), 0);
|
||||
}
|
||||
appendsOFile(fp,buf1);
|
||||
appendsOFile(fp, buf.get());
|
||||
}
|
||||
|
||||
static int inList(const char **list, const char *s)
|
||||
|
||||
Reference in New Issue
Block a user