projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
transition icons, ru po, listbox sliderbar fixes, update xlat, xft wide char fixes...
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
bctrace.C
diff --git
a/cinelerra-5.1/guicast/bctrace.C
b/cinelerra-5.1/guicast/bctrace.C
index 47638fe9a6955f21b473016aa958b1035959bd13..b15cfea17fba633b6f087dfdabefc537318a2c39 100644
(file)
--- a/
cinelerra-5.1/guicast/bctrace.C
+++ b/
cinelerra-5.1/guicast/bctrace.C
@@
-114,12
+114,12
@@
int BC_Trace::set_lock(const char *title, const char *loc, trace_info *info)
last_lock_title = title;
last_lock_location = loc;
lock_item *it;
last_lock_title = title;
last_lock_location = loc;
lock_item *it;
- if( lock_table.size >= TOTAL_LOCKS ) {
+ if( (it=(lock_item*)lock_free.first) != 0 )
+ lock_free.remove_pointer(it);
+ else if( lock_table.size >= TOTAL_LOCKS ) {
it = (lock_item*)lock_table.first;
lock_table.remove_pointer(it);
}
it = (lock_item*)lock_table.first;
lock_table.remove_pointer(it);
}
- else if( (it=(lock_item*)lock_free.first) != 0 )
- lock_free.remove_pointer(it);
else
it = new lock_item();
it->set(info, title, loc);
else
it = new lock_item();
it->set(info, title, loc);