Minor bugs in Fl_Preferences::copyTo(). Note to self: increase warning level!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
3d5d2b54f2
commit
12fecf6c4d
@ -1627,8 +1627,9 @@ char Fl_Preferences::Node::copyTo(Fl_Tree *tree, Fl_Tree_Item *ti)
|
||||
const char *name = entry[i].name;
|
||||
const char *value = entry[i].value;
|
||||
fl_snprintf(buf, 80, "%s: %s", name, value);
|
||||
Fl_Tree_Item *tic = tree->add(ti, buf);
|
||||
tree->add(ti, buf);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Loading…
Reference in New Issue
Block a user