Anonymous avatar Anonymous committed 2305b69

Got minifind to work.

Comments (0)

Files changed (1)

libfilefind/c_glib_based/filefind.c

     return;
 }
 
+static void file_finder_calc_default_actions(file_finder_t * self);
+
 int file_find_new(file_find_handle_t * * output_handle, const char * first_target)
 {
     file_finder_t * self = NULL;
 
     *output_handle = (file_find_handle_t *)self;
 
+    file_finder_calc_default_actions(self);
+
     return FILE_FIND_OK;
 
 cleanup:
             {
                 goto cleanup;
             }
-            else if (local_status == FILEFIND_STATUS_END)
+            else if (local_status == FILEFIND_STATUS_OK)
             {
-                total_status = FILEFIND_STATUS_OK;
+                total_status = FILEFIND_STATUS_END;
             }
-            else /* (local_status == FILEFIND_STATUS_OK) */
+            else /* (local_status == FILEFIND_STATUS_END) */
             {
                 total_status = file_finder_me_die(self);
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.