mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 22:04:26 +08:00
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:
@@ -1627,8 +1627,9 @@ char Fl_Preferences::Node::copyTo(Fl_Tree *tree, Fl_Tree_Item *ti)
|
|||||||
const char *name = entry[i].name;
|
const char *name = entry[i].name;
|
||||||
const char *value = entry[i].value;
|
const char *value = entry[i].value;
|
||||||
fl_snprintf(buf, 80, "%s: %s", name, value);
|
fl_snprintf(buf, 80, "%s: %s", name, value);
|
||||||
Fl_Tree_Item *tic = tree->add(ti, buf);
|
tree->add(ti, buf);
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user