X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Frecordbatches.C;h=a9f5114e15600541e9aa4106ddc4d16cbfd2b454;hb=cdb8b00f2f7ecf0b4910a40e1d90a87540d2891d;hp=0fe7d76b2f87919bc33d9b39effd83db26ba75bc;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/recordbatches.C b/cinelerra-5.1/cinelerra/recordbatches.C index 0fe7d76b..a9f5114e 100644 --- a/cinelerra-5.1/cinelerra/recordbatches.C +++ b/cinelerra-5.1/cinelerra/recordbatches.C @@ -355,7 +355,8 @@ RecordBatchesGUI::Dir:: int RecordBatchesGUI::Dir:: handle_event() { - char *path = FileSystem::basepath(directory); + char *path = FileSystem::basepath(get_text()); + strcpy(directory, path); load_dirs(path); calculate_suggestions(dir_entries); delete [] path;