X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Frecordbatches.C;h=a9f5114e15600541e9aa4106ddc4d16cbfd2b454;hp=0fe7d76b2f87919bc33d9b39effd83db26ba75bc;hb=abf5c6bb4dec2c2d03df2872e1d337e3905b3619;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 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;