]> git.sesse.net Git - nageru/commitdiff
Allow symlinked frame files. Useful for testing.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 26 Nov 2018 23:55:36 +0000 (00:55 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 26 Nov 2018 23:55:36 +0000 (00:55 +0100)
main.cpp

index ba44577a124e46e71a13af98727423d851fc7763..3aebe5a4e05151fe355689a89fe49859219136b7 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -390,7 +390,7 @@ void load_existing_frames()
                        break;
                }
 
-               if (de->d_type == DT_REG) {
+               if (de->d_type == DT_REG || de->d_type == DT_LNK) {
                        string filename = frame_dir + "/" + de->d_name;
                        frame_filenames.push_back(filename);
                        frame_basenames.push_back(de->d_name);