add missed language decl
[goodguy/history.git] / cinelerra-5.1 / cinelerra / indexable.C
index fa86e313828488d74f5951cf195d4f3cba938dcc..fc328ffb0fb204c45d976dd21c20a3e9677e4b7a 100644 (file)
@@ -22,6 +22,7 @@
 #include "bcsignals.h"
 #include "edl.h"
 #include "indexable.h"
+#include "language.h"
 
 #include <string.h>
 
@@ -60,6 +61,7 @@ void Indexable::update_path(char *new_path)
 
 void Indexable::update_index(Indexable *src)
 {
+       if( index_state == src->index_state ) return;
        index_state->remove_user();
        index_state = src->index_state;
        index_state->add_user();