$OpenBSD: patch-src_SearchWindow_cpp,v 1.4 2016/10/20 21:12:38 giovanni Exp $

Remove gnuisms. The Find Hidden checkbox does nothing now.

--- src/SearchWindow.cpp.orig	Tue Dec 15 14:54:20 2015
+++ src/SearchWindow.cpp	Sun Oct  9 20:50:02 2016
@@ -639,7 +639,7 @@ long SearchWindow::onCmdStart(FXObject*, FXSelector, v
     }
     else
     {
-        searchcommand = "find -P " + ::quote(wheredir->getText());
+        searchcommand = "find " + ::quote(wheredir->getText());
     }
 
     // Ignore case
@@ -745,7 +745,7 @@ long SearchWindow::onCmdStart(FXObject*, FXSelector, v
     // Hidden files
     if (!findhidden->getCheck())
     {
-        searchcommand += " \\( ! -regex '.*/\\..*' \\)";
+        searchcommand += " ! -path .";
     }
 
     // Without grep command
