projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add descratch plugin, single frame silence insert, docs
[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 3d0d2839066270b886713fadf5fb053c067bdfbe..73d2859dd601da8bbeb0be4222f6f9c7988b84b9 100644
(file)
--- a/
cinelerra-5.1/guicast/bcrecentlist.C
+++ b/
cinelerra-5.1/guicast/bcrecentlist.C
@@
-67,7
+67,7
@@
BC_RecentList::~BC_RecentList()
int BC_RecentList::handle_event() {
BC_ListBoxItem *item = get_selection(0, 0);
int BC_RecentList::handle_event() {
BC_ListBoxItem *item = get_selection(0, 0);
- if
(item < 0
) return 0;
+ if
( !item
) return 0;
char *text = item->get_text();
if (text && textbox) {
// change the text in the textbox
char *text = item->get_text();
if (text && textbox) {
// change the text in the textbox