projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add bins/folders, fix listbox bad wdw ref, hide vicons fix, remove sort by time
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
indexable.C
diff --git
a/cinelerra-5.1/cinelerra/indexable.C
b/cinelerra-5.1/cinelerra/indexable.C
index e7f090c483565f1cc5c5f878fb5103c35e0762db..293d321ed567a6b971b3a1cb74df0433824b8dd5 100644
(file)
--- a/
cinelerra-5.1/cinelerra/indexable.C
+++ b/
cinelerra-5.1/cinelerra/indexable.C
@@
-54,7
+54,7
@@
int64_t Indexable::get_audio_samples()
return 0;
}
return 0;
}
-void Indexable::update_path(char *new_path)
+void Indexable::update_path(c
onst c
har *new_path)
{
strcpy(path, new_path);
}
{
strcpy(path, new_path);
}
@@
-62,9
+62,9
@@
void Indexable::update_path(char *new_path)
void Indexable::update_index(Indexable *src)
{
if( index_state == src->index_state ) return;
void Indexable::update_index(Indexable *src)
{
if( index_state == src->index_state ) return;
- index_state->remove_user();
+ i
f( index_state ) i
ndex_state->remove_user();
index_state = src->index_state;
index_state = src->index_state;
- index_state->add_user();
+ i
f( index_state ) i
ndex_state->add_user();
}
}
@@
-73,6
+73,7
@@
void Indexable::update_index(Indexable *src)
void Indexable::copy_indexable(Indexable *src)
{
if( this == src ) return;
void Indexable::copy_indexable(Indexable *src)
{
if( this == src ) return;
+ awindow_folder = src->awindow_folder;
update_path(src->path);
update_index(src);
}
update_path(src->path);
update_index(src);
}