delete stray line in last checkin
[goodguy/history.git] / cinelerra-5.1 / guicast / bcrecentlist.C
index 3d0d2839066270b886713fadf5fb053c067bdfbe..73d2859dd601da8bbeb0be4222f6f9c7988b84b9 100644 (file)
@@ -67,7 +67,7 @@ BC_RecentList::~BC_RecentList()
 
 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