projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fullscreen tweaks, vwdw refresh frame scale, cleanup
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
bcrecentlist.C
diff --git
a/cinelerra-5.1/guicast/bcrecentlist.C
b/cinelerra-5.1/guicast/bcrecentlist.C
index 73d2859dd601da8bbeb0be4222f6f9c7988b84b9..d1e24349e654a8cfb7137064c7d8cf77fca1bc32 100644
(file)
--- a/
cinelerra-5.1/guicast/bcrecentlist.C
+++ b/
cinelerra-5.1/guicast/bcrecentlist.C
@@
-65,7
+65,8
@@
BC_RecentList::~BC_RecentList()
items.remove_all_objects();
}
items.remove_all_objects();
}
-int BC_RecentList::handle_event() {
+int BC_RecentList::handle_event()
+{
BC_ListBoxItem *item = get_selection(0, 0);
if( !item ) return 0;
char *text = item->get_text();
BC_ListBoxItem *item = get_selection(0, 0);
if( !item ) return 0;
char *text = item->get_text();
@@
-79,7
+80,8
@@
int BC_RecentList::handle_event() {
}
}
-int BC_RecentList::load_items(const char *prefix) {
+int BC_RecentList::load_items(const char *prefix)
+{
if (! prefix) prefix = "ANY";
if (! prefix) prefix = "ANY";
@@
-105,7
+107,8
@@
int BC_RecentList::load_items(const char *prefix) {
}
}
-int BC_RecentList::add_item(const char *prefix, char *text) {
+int BC_RecentList::add_item(const char *prefix, const char *text)
+{
if (! prefix) prefix = "ANY";
if (! prefix) prefix = "ANY";
@@
-133,3
+136,4
@@
int BC_RecentList::add_item(const char *prefix, char *text) {
return count;
}
return count;
}
+