]> git.decadent.org.uk Git - ion3.git/blobdiff - mod_query/edln.c
Imported Upstream version 20090110
[ion3.git] / mod_query / edln.c
index 99283f40ef71c2b918782582245606a5e264e7bb..6951014748166a4dba886a11d5414e01134417f8 100644 (file)
@@ -1,12 +1,9 @@
 /*
  * ion/mod_query/edln.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2006
+ * Copyright (c) Tuomo Valkonen 1999-2009
  *
- * Ion is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
  */
 
 #include <string.h>
@@ -644,10 +641,10 @@ static int search(Edln *edln, int from, bool bwd, bool match)
         char *tmpstr=history_search_str(edln);
         if(tmpstr==NULL)
             return edln->histent;
-        e=mod_query_history_search(tmpstr, from, bwd);
+        e=mod_query_history_search(tmpstr, from, bwd, FALSE);
         free(tmpstr);
     }else{
-        e=mod_query_history_search(edln->context, from, bwd);
+        e=mod_query_history_search(edln->context, from, bwd, FALSE);
     }
     
     return e;