silly strcmp oops. fix.
authorCarsten Haitzler <raster@rasterman.com>
Sun, 15 Oct 2006 23:52:36 +0000 (23:52 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Sun, 15 Oct 2006 23:52:36 +0000 (23:52 +0000)
SVN revision: 26633

src/bin/e_fm.c

index 7bd6aba..bc7c442 100644 (file)
@@ -3797,7 +3797,7 @@ _e_fm2_cb_scan_idler(void *data)
        /* skip dotfiles if we're not showing hidden files */
        if (dp->d_name[0] == '.' && !sd->show_hidden_files) return 1;
        /* always hide .order files */
-       if (!strcmp(dp->d_name[0], ".order")) return 1;
+       if (!strcmp(dp->d_name, ".order")) return 1;
        _e_fm2_file_add(data, dp->d_name, sd->order_file, NULL, 0);
      }
    return 1;